Permalink
Browse files

[slimtest_batchtester_hook.py] Honor --force from BatchTester, bump b…

…atchtester for --force addition
  • Loading branch information...
1 parent 1995e85 commit e183280ce76564d9f3babc94f39c2a7f28cc9213 @Nephyrin Nephyrin committed May 2, 2012
Showing with 9 additions and 3 deletions.
  1. +1 −1 benchtester
  2. +8 −2 slimtest_batchtester_hook.py
@@ -67,9 +67,15 @@ def should_test(build, args):
for x in AreWeSlimYetTests:
if not x in have_tests:
return True
+
build.note = "Build has complete test data"
- stat("Skipping build with test data: %s" % (build.revision,))
- return False
+ if build.force:
+ build.note += ", but --force given. Testing anyway."
+ stat("Force testing build with test data: %s" % (build.revision,))
+ return True
+ else:
+ stat("Skipping build with test data: %s" % (build.revision,))
+ return False
def run_tests(build, args):
import BenchTester

0 comments on commit e183280

Please sign in to comment.