Reviewers: Jakob, Michael Achenbach (OOO),
Description:
run-tests.py: warn when no tests were run
The previous approach to this (in 1b1de2d22) did not work well with
bots that intentionally run no tests. But I think this warning message
is still useful for developers.
Please review this at https://codereview.chromium.org/1281313004/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+4, -0 lines):
M tools/run-tests.py
Index: tools/run-tests.py
diff --git a/tools/run-tests.py b/tools/run-tests.py
index
a3d4d0a808465ac622b5646e5e26c10b4e252428..9c6f30a3657591ca31c9898592a202d7d30d382f
100755
--- a/tools/run-tests.py
+++ b/tools/run-tests.py
@@ -697,6 +697,10 @@ def Execute(arch, mode, args, options, suites,
workspace):
if options.time:
verbose.PrintTestDurations(suites, overall_duration)
+
+ if num_tests == 0:
+ print("Warning: no tests were run!")
+
return exit_code
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.