Просмотр исходного кода

capture exit code of the test run.

Shane Kilkelly 10 лет назад
Родитель
Сommit
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