Don't try to tail *.testlog after non-sim tests

Fixes #247
This commit is contained in:
George Oikonomou 2013-08-07 14:50:48 +01:00
parent 3446cee85b
commit 4cb72c1f11

View File

@ -34,7 +34,7 @@ script:
after_script: after_script:
## Print cooja test logs ## Print cooja test logs
- "tail regression-tests/??-$BUILD_TYPE/*.testlog" - "[ ${BUILD_CATEGORY:-sim} = sim ] && tail regression-tests/??-$BUILD_TYPE/*.testlog"
## Print a basic summary ## Print a basic summary
- "echo 'Summary:'; cat regression-tests/??-$BUILD_TYPE/summary" - "echo 'Summary:'; cat regression-tests/??-$BUILD_TYPE/summary"
- "FAILS=`grep -c -i 'fail' regression-tests/??-$BUILD_TYPE/summary`" - "FAILS=`grep -c -i 'fail' regression-tests/??-$BUILD_TYPE/summary`"