Skip to content

Commit

Permalink
run test.sh if exists, else test-need-parameters.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
drnic committed Apr 2, 2018
1 parent 7eb4272 commit c2a0c2a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ci/scripts/testflight-with-credhub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ for f in tutorials/*/*/test{,-need-parameters}.sh
do
echo "\n\n\nlesson $f\n"
pushd `dirname $f`
./test{,-need-parameters}.sh
if [[ -x ./test.sh ]]; then
./test.sh
else
./test-need-parameters.sh
fi
popd
done

0 comments on commit c2a0c2a

Please sign in to comment.