From 4c253d9b2f16b24d7c8847286cf1a64ed1f4d726 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 10 Apr 2016 14:20:46 +0300 Subject: [PATCH] Simplify run_all output --- tests/run_all.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/tests/run_all.py b/tests/run_all.py index 51d3d6a..2e217bf 100755 --- a/tests/run_all.py +++ b/tests/run_all.py @@ -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() -- 2.39.2