capture exit code of the test run.

This commit is contained in:
Shane Kilkelly 2016-07-08 14:31:43 +01:00
parent ea41453442
commit 6d9aecae4c

View file

@ -11,8 +11,11 @@ sleep 20
echo ">> Running acceptance tests..." echo ">> Running acceptance tests..."
grunt test:acceptance grunt test:acceptance
_test_exit_code=$?
echo ">> Killing server (pid: $_pid)" echo ">> Killing server (pid: $_pid)"
kill -1 "$_pid" kill -1 "$_pid"
echo ">> Done" echo ">> Done"
exit $_test_exit_code