Jelajahi Sumber

capture exit code of the test run.

Shane Kilkelly 10 tahun lalu
induk
melakukan
6d9aecae4c

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

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