diff --git a/run-tests.js b/run-tests.js index 4aa0796e981bb..257614be73dc8 100644 --- a/run-tests.js +++ b/run-tests.js @@ -251,7 +251,8 @@ async function main() { if (testPatternRegex) { console.log('Running related tests:', testPatternRegex.toString()) } else { - console.log('No matching related tests.') + console.log('No matching related tests, exiting.') + process.exit(0) } }