@ -167,14 +167,16 @@ class BitcoinTestFramework():
@@ -167,14 +167,16 @@ class BitcoinTestFramework():
ifsuccess==TestStatus.PASSED:
self.log.info("Tests successful")
sys.exit(TEST_EXIT_PASSED)
exit_code=TEST_EXIT_PASSED
elifsuccess==TestStatus.SKIPPED:
self.log.info("Test skipped")
sys.exit(TEST_EXIT_SKIPPED)
exit_code=TEST_EXIT_SKIPPED
else:
self.log.error("Test failed. Test logging available at %s/test_framework.log",self.options.tmpdir)
self.log.error("Hint: Call {}'{}' to consolidate all logs".format(os.path.normpath(os.path.dirname(os.path.realpath(__file__))+"/../combine_logs.py"),self.options.tmpdir))