Output sha1sums of files used for simulation on fail
This helps reproducing results from the CI
This commit is contained in:
parent
a488ac16cc
commit
1692169138
|
@ -54,9 +54,12 @@ while (( "$#" )); do
|
|||
|
||||
|
||||
#Verbose output when using CI
|
||||
if [ "$CI" = "true" ]; then
|
||||
if [ "$CI" = "true" ]; then
|
||||
echo "==== COOJA.log ====" ; cat COOJA.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 ;
|
||||
fi;
|
||||
|
|
|
@ -403,7 +403,7 @@ public class ContikiMoteType implements MoteType {
|
|||
}
|
||||
|
||||
// Allocate core communicator class
|
||||
logger.info("Creating core communicator between Java class '" + javaClassName + "' and Contiki library '" + getContikiFirmwareFile().getName() + "'");
|
||||
logger.info("Creating core communicator between Java class " + javaClassName + " and Contiki library '" + getContikiFirmwareFile().getPath() + "");
|
||||
myCoreComm = CoreComm.createCoreComm(this.javaClassName, getContikiFirmwareFile());
|
||||
|
||||
/* Parse addresses using map file
|
||||
|
|
Loading…
Reference in a new issue