Skip to content

Commit

Permalink
don't run tests in subshell
Browse files Browse the repository at this point in the history
running in a subshell makes it so test assertions cannot update pass_count and fail_count.
  • Loading branch information
ninjudd committed Jan 31, 2013
1 parent 1f407fb commit 4ecd5c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/run
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function run_all_tests {
((test_count++))
setup
[[ -z $VERBOSE ]] || printf "\n%s %s %s\n" "$0" "$suite" "$test"
($test)
$test
teardown
done
done
Expand Down

0 comments on commit 4ecd5c8

Please sign in to comment.