]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fixed test-zstd-speed.py default "--message" parameter 208/head
authorinikep <inikep@gmail.com>
Mon, 13 Jun 2016 08:50:09 +0000 (10:50 +0200)
committerinikep <inikep@gmail.com>
Mon, 13 Jun 2016 08:50:09 +0000 (10:50 +0200)
tests/test-zstd-speed.py

index 3e5eaa738b1e84145da939605e5287802ff9ea82..9a9a3992dfaba2cee8ac034d233b420e584c33b1 100755 (executable)
@@ -175,13 +175,14 @@ def check_branches(args, test_path, testFilePaths, have_mutt, have_mail):
         except Exception as e:
             stack = traceback.format_exc()
             log("ERROR: build %s, error %s" % (branch, str(e)) )
+            print stack
 
 
 if __name__ == '__main__':
     parser = argparse.ArgumentParser()
     parser.add_argument('testFileNames', help='file names list for speed benchmark')
     parser.add_argument('emails', help='list of e-mail addresses to send warnings')
-    parser.add_argument('--message', help='attach an additional message to e-mail')
+    parser.add_argument('--message', help='attach an additional message to e-mail', default="")
     parser.add_argument('--lowerLimit', type=float, help='send email if speed is lower than given limit', default=0.98)
     parser.add_argument('--maxLoadAvg', type=float, help='maximum load average to start testing', default=0.75)
     parser.add_argument('--lastCLevel', type=int, help='last compression level for testing', default=5)