Kaynağa Gözat

capture exit code of the test run.

Shane Kilkelly 10 yıl önce
ebeveyn
işleme
6d9aecae4c

+ 3 - 0
services/document-updater/test/acceptance/scripts/full-test.sh

@@ -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