Преглед на файлове

capture exit code of the test run.

Shane Kilkelly преди 10 години
родител
ревизия
6d9aecae4c
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      services/document-updater/test/acceptance/scripts/full-test.sh

+ 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