Skip to content

Commit 0db6911

Browse files
committed
run each test script in every shell before moving to the next script
1 parent 5b6033a commit 0db6911

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

tests/run_tests

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,17 @@ unset VIRTUALENVWRAPPER_VIRTUALENV_ARGS
4444

4545
# Run the test scripts with a little formatting around them to make it
4646
# easier to find where each script output starts.
47-
for test_shell in bash ksh zsh
47+
for test_script in $scripts
4848
do
49-
test_shell_opts=
50-
if [ $test_shell = "zsh" ]; then
51-
test_shell_opts="-o shwordsplit"
52-
fi
53-
test_shell=$(which $test_shell)
5449

55-
for test_script in $scripts
50+
for test_shell in bash ksh zsh
5651
do
52+
test_shell_opts=
53+
if [ $test_shell = "zsh" ]; then
54+
test_shell_opts="-o shwordsplit"
55+
fi
56+
export test_shell=$(which $test_shell)
57+
5758
echo
5859
echo '********************************************************************************'
5960
echo "Running $test_script"

0 commit comments

Comments
 (0)