]> git.phdru.name Git - m_librarian.git/commitdiff
Simplify run_all output
authorOleg Broytman <phd@phdru.name>
Sun, 10 Apr 2016 11:20:46 +0000 (14:20 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 10 Apr 2016 11:20:46 +0000 (14:20 +0300)
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()