فهرست منبع

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