Skip to content

Commit ed28219

Browse files
Fix fall back to building test-runner if necessary
1 parent 3a32454 commit ed28219

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

test/scripts/utils/lib.sh

+1-5
Original file line numberDiff line numberDiff line change
@@ -161,11 +161,7 @@ function run_tests_for_os {
161161
exit 1
162162
fi
163163

164-
if [ -n "${TEST_DIST_DIR+x}" ]; then
165-
if [ ! -x "${TEST_DIST_DIR%/}/test-runner" ]; then
166-
executable_not_found_in_dist_error test-runner
167-
fi
168-
164+
if [ -n "${TEST_DIST_DIR+x}" ] && [ -x "${TEST_DIST_DIR%/}/test-runner" ]; then
169165
echo "**********************************"
170166
echo "* Using test-runner in $TEST_DIST_DIR"
171167
echo "**********************************"

0 commit comments

Comments
 (0)