From 69274ed7f96d2fac6c7d542097d31c84569b0b5f Mon Sep 17 00:00:00 2001 From: o9000 Date: Wed, 30 Aug 2017 16:55:40 +0200 Subject: [PATCH] Regression tests --- test/regression.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/regression.py b/test/regression.py index 1822526..640f87e 100755 --- a/test/regression.py +++ b/test/regression.py @@ -201,7 +201,7 @@ def show_timestamp(): def show_git_info(src_dir): - out, _ = run("cd {0}; git show -s '--format=%h %s %d'".format(src_dir), True).communicate() + out, _ = run("cd {0}; git show -s '--format=[%ci] %h %s %d'".format(src_dir), True).communicate() print("Last commit:", out.strip()) diff, _ = run("cd {0}; git diff".format(src_dir), True).communicate() diff = diff.strip() @@ -283,7 +283,6 @@ def check_busy(): out, _ = run("top -bn5 | grep 'Cpu(s)' | grep -o '[0-9\.]* id' | cut -d ' ' -f 1", True).communicate() load_samples = [] for line in out.split("\n"): - print(line) line = line.strip() if line: load_samples.append(100. - float(line))