Skip to content

Commit 2bc8a12

Browse files
Merge pull request #3 from hernangonzalez/fix-test-runner
fix test
2 parents 9033f7a + b38024f commit 2bc8a12

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

run_tests.rb

+7-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,12 @@ def select_stage
2222
# Run the tests
2323
puts "Running tests..."
2424
stage = select_stage
25-
system "cargo test --release --features stage#{stage}"
25+
test_resut = system "cargo test --release --features stage#{stage}"
2626

2727
# Congrats!
28-
puts "All Done!"
28+
if test_resut
29+
puts "All Done!"
30+
else
31+
puts "Oops, something went wrong!"
32+
exit 1
33+
end

0 commit comments

Comments
 (0)