Prevent Travis from failing when tests are disabled

This commit is contained in:
Steven Roose 2019-05-15 09:11:14 +01:00
parent 4ed0bb36b4
commit 872d39fbe8
No known key found for this signature in database
GPG key ID: 2F2A88D7F8D68E87
2 changed files with 6 additions and 2 deletions

View file

@ -587,7 +587,9 @@ def check_script_list(*, src_dir, fail_on_warn):
print("%sWARNING!%s The following scripts are not being run: %s. Check the test lists in test_runner.py." % (BOLD[1], BOLD[0], str(missed_tests)))
if fail_on_warn:
# On travis this warning is an error to prevent merging incomplete commits into master
sys.exit(1)
# ELEMENTS: we disable some tests, so this should not fail
pass
#sys.exit(1)
class RPCCoverage():

View file

@ -600,7 +600,9 @@ def check_script_list(*, src_dir, fail_on_warn):
print("%sWARNING!%s The following scripts are not being run: %s. Check the test lists in test_runner.py." % (BOLD[1], BOLD[0], str(missed_tests)))
if fail_on_warn:
# On travis this warning is an error to prevent merging incomplete commits into master
sys.exit(1)
# ELEMENTS: we disable some tests, so this should not fail
pass
#sys.exit(1)
class RPCCoverage():