Skip to content

Commit dc1a553

Browse files
committed
test-rust-examples task: Exit with a fixed error
`... || exit $?` doesn't actually work as expected and the exit call will fail with: numeric argument required because $? is not yet set.
1 parent 01c2e70 commit dc1a553

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ endif
7373
test-rust-examples: glean-core/rlb/tests/*.sh ## Run Rust example tests
7474
@for file in $^; do \
7575
echo "=== $${file} ==="; \
76-
./$$file || exit $?; \
76+
./$$file || exit 1; \
7777
done
7878

7979
test-rust-with-logs: ## Run all Rust tests with debug logging and single-threaded

0 commit comments

Comments
 (0)