diff options
Diffstat (limited to 'afm-test.native.sh')
-rw-r--r-- | afm-test.native.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/afm-test.native.sh b/afm-test.native.sh index ffdb869..a80fdf2 100644 --- a/afm-test.native.sh +++ b/afm-test.native.sh @@ -26,7 +26,12 @@ cleanNexit() { then [ -f "${LOGFILESERVICE}" ] && cat "${LOGFILESERVICE}" [ -f "${LOGFILETEST}" ] && cat "${LOGFILETEST}" - echo "Error: Test launch failed. Code: $1" + if [[ $1 -eq 124 ]] || [[ $1 -eq 137 ]] + then + echo -e "Error: Test timed out. Try to use '-t' options to increase the timeout.\nError: Exit Code: $1" + else + echo -e "Error: Test launch failed.\nError: Exit Code: $1" + fi else find "${TESTPACKAGEDIR}" -maxdepth 1 -name '*.tap' -exec cat {} \; find "${TESTPACKAGEDIR}" -maxdepth 1 -name '*.txt' -exec cat {} \; |