Skip to content

Commit 39d8192

Browse files
committed
Failing test run when test file cannot be found
1 parent 7b8ee59 commit 39d8192

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/scripts/run_integration_tests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ def main():
5555
test_exe = os.path.join(arguments["testDir"], testName if test_has_parent_dir else "", testName) + exe_extension
5656
# when build with BUILD_ONLY, not all test binaries will be generated.
5757
if not os.path.isfile(test_exe):
58-
print("Test: \"{}\" doesn't exist, skipped.".format(test_exe))
59-
continue
58+
print("Test: \"{}\" doesn't exist, failing test run.".format(test_exe))
59+
exit(1)
6060
prefix = "--aws_resource_prefix=" + ''.join(
6161
random.choice(string.ascii_lowercase + string.digits) for _ in range(8))
6262
print("testExe = " + test_exe)

0 commit comments

Comments
 (0)