Add --perf_verify_sanity option to performance tests

This option provides an easy way to identify tests having no regression data
for sanity checks
This commit is contained in:
Andrey Kamaev
2012-12-11 17:16:27 +04:00
parent 7c6191ec11
commit e1afb1409f
2 changed files with 10 additions and 1 deletions

View File

@@ -849,6 +849,8 @@ if __name__ == "__main__":
test_args.extend(["--perf_min_samples=1"])
if not [a for a in test_args if a.startswith("--perf_force_samples=")] :
test_args.extend(["--perf_force_samples=1"])
if not [a for a in test_args if a.startswith("--perf_verify_sanity")] :
test_args.extend(["--perf_verify_sanity"])
logs = []
test_list = []