|
67 | 67 | TEST_EXIT_SKIPPED = 77
|
68 | 68 |
|
69 | 69 | EXTENDED_SCRIPTS = [
|
70 |
| - # These tests are not run by the travis build process. |
| 70 | + # These tests are not run by default. |
71 | 71 | # Longest test should go first, to favor running tests in parallel
|
72 | 72 | 'feature_pruning.py',
|
73 | 73 | 'feature_dbcrash.py',
|
74 | 74 | ]
|
75 | 75 |
|
76 | 76 | BASE_SCRIPTS = [
|
77 |
| - # Scripts that are run by the travis build process. |
| 77 | + # Scripts that are run by default. |
78 | 78 | # Longest test should go first, to favor running tests in parallel
|
79 | 79 | 'feature_fee_estimation.py',
|
80 | 80 | 'wallet_hd.py',
|
@@ -494,7 +494,8 @@ def get_next(self):
|
494 | 494 | for job in self.jobs:
|
495 | 495 | (name, start_time, proc, testdir, log_out, log_err) = job
|
496 | 496 | if int(time.time() - start_time) > self.timeout_duration:
|
497 |
| - # In travis, timeout individual tests (to stop tests hanging and not providing useful output). |
| 497 | + # Timeout individual tests if timeout is specified (to stop |
| 498 | + # tests hanging and not providing useful output). |
498 | 499 | proc.send_signal(signal.SIGINT)
|
499 | 500 | if proc.poll() is not None:
|
500 | 501 | log_out.seek(0), log_err.seek(0)
|
@@ -582,7 +583,7 @@ def check_script_list(*, src_dir, fail_on_warn):
|
582 | 583 | if len(missed_tests) != 0:
|
583 | 584 | 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)))
|
584 | 585 | if fail_on_warn:
|
585 |
| - # On travis this warning is an error to prevent merging incomplete commits into master |
| 586 | + # On CI this warning is an error to prevent merging incomplete commits into master |
586 | 587 | sys.exit(1)
|
587 | 588 |
|
588 | 589 |
|
|
0 commit comments