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

Fixes #247
ico
George Oikonomou 2013-08-07 14:50:48 +01:00
parent 3446cee85b
commit 4cb72c1f11
1 changed files with 1 additions and 1 deletions

View File

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