Skip to content

Commit

Permalink
CI simexec: print stdout from java run, which includes the Cooja log …
Browse files Browse the repository at this point in the history
…and possible JVM error logs
  • Loading branch information
simonduq committed Nov 29, 2015
1 parent 6def22b commit 576d04a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions regression-tests/simexec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 576d04a

Please sign in to comment.