mirror of
https://github.com/opencv/opencv.git
synced 2025-08-05 22:19:14 +08:00
Merge pull request #11564 from alalek:ts_run_py_passthrough_test_args
This commit is contained in:
commit
099eb40ba1
@ -56,7 +56,7 @@ if __name__ == "__main__":
|
||||
|
||||
log.setLevel(logging.DEBUG if args.verbose else logging.INFO)
|
||||
|
||||
test_args = [a for a in other_args if a.startswith("--perf_") or a.startswith("--gtest_")]
|
||||
test_args = [a for a in other_args if a.startswith("--perf_") or a.startswith("--test_") or a.startswith("--gtest_")]
|
||||
bad_args = [a for a in other_args if a not in test_args]
|
||||
if len(bad_args) > 0:
|
||||
log.error("Error: Bad arguments: %s", bad_args)
|
||||
|
Loading…
Reference in New Issue
Block a user