Skip to content

Commit

Permalink
Prevent Travis from failing when tests are disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenroose committed May 15, 2019
1 parent 4ed0bb3 commit 872d39f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion test/bitcoin_functional/functional/test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down
4 changes: 3 additions & 1 deletion test/functional/test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit 872d39f

Please sign in to comment.