mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-11-18 12:05:11 +00:00
Merge pull request #1402 from simonduq/pr/ci-simexec-log-output
Travis: improved output for failed Cooja simulation
This commit is contained in:
commit
5d67a612b4
@ -55,13 +55,13 @@ while (( "$#" )); do
|
||||
|
||||
#Verbose output when using CI
|
||||
if [ "$CI" = "true" ]; then
|
||||
echo "==== COOJA.log ====" ; cat COOJA.log;
|
||||
echo "==== $BASENAME.log ====" ; cat $BASENAME.log;
|
||||
echo "==== COOJA.testlog ====" ; cat COOJA.testlog;
|
||||
echo "==== Files used for simulation (sha1sum) ===="
|
||||
grep "Loading firmware from:" COOJA.log | cut -d " " -f 10 | uniq | xargs -r sha1sum
|
||||
grep "Creating core communicator between Java class" COOJA.log | cut -d " " -f 17 | uniq | xargs -r sha1sum
|
||||
else
|
||||
tail -50 COOJA.log ;
|
||||
tail -50 $BASENAME.log ;
|
||||
fi;
|
||||
|
||||
mv COOJA.testlog $BASENAME.$RANDOMSEED.faillog
|
||||
|
Loading…
Reference in New Issue
Block a user