my eye

Make test command proxy results and return status

Committed 9c1d4f

--- a/gmpg/__main__.py
+++ b/gmpg/__main__.py

     """Test a package."""
 
     def run(self, stdin, log):
-        gmpg.test()
+        return gmpg.test()
 
 
 @main.register()

--- a/gmpg/analysis.py
+++ b/gmpg/analysis.py

         stdout=subprocess.PIPE,
         stderr=subprocess.PIPE,
     )
-    _, err = [x.decode("utf-8") for x in proc.communicate()]
-    return
-    return _parse_junit(), _parse_coverage(), err
+    for line in proc.communicate():
+        print(line.decode("utf-8"))
+    return proc.returncode
 
 
 def _parse_junit(path="test_results.xml"):