]> git.phdru.name Git - m_librarian.git/blobdiff - tests/run_all.py
Simplify run_all output
[m_librarian.git] / tests / run_all.py
index 51d3d6ad75c09cf004143d2d008184515ae51651..2e217bf31e814c42286fc7a96912fd53e6c3680b 100755 (executable)
@@ -31,14 +31,8 @@ def main():
     os.environ["PYTHONPATH"] = os.curdir
 
     for test in sorted(tests):
-        sys.stdout.write("Test: %s... " % test)
-        sys.stdout.flush()
-        rc = subprocess.call((sys.executable, '-m', test))
-        if rc:
-            sys.stdout.write("ERROR\n")
-        else:
-            sys.stdout.write("Ok\n")
-        sys.stdout.flush()
+        print test
+        subprocess.call((sys.executable, '-m', test))
 
 if __name__ == '__main__':
     main()