MCPcopy Index your code
hub / github.com/nodejs/node / should_keep

Function should_keep

tools/test.py:1801–1809  ·  view source on GitHub ↗
(case)

Source from the content-addressed store, hash-verified

1799 sys.exit(1)
1800
1801 def should_keep(case):
1802 if any((s in case.file) for s in options.skip_tests):
1803 return False
1804 elif SKIP in case.outcomes:
1805 return False
1806 elif (options.flaky_tests == SKIP) and (set([SLOW, FLAKY]) & case.outcomes):
1807 return False
1808 else:
1809 return True
1810
1811 cases_to_run = [
1812 test_case for test_case in all_cases if should_keep(test_case)

Callers 1

MainFunction · 0.85

Calls 1

setFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…