Parse logs for build and test status.

This commit is contained in:
David Brown 2016-06-30 21:02:06 +01:00
parent 35c3921be4
commit 6470000cff
3 changed files with 63 additions and 13 deletions

View file

@ -0,0 +1,14 @@
# Checksum tests
md5=$((which md5;which md5sum)2>/dev/null)
if [ -f $1 ]
then
$md5 *.o >newsums
if diff -b $1 newsums
then printf "\n--- Object file checksums match ---\n"; rm newsums
else printf "\n--- Object file checksum mismatch ---\n"; rm newsums; exit 1
fi
else
$md5 *.o >$1
printf "\n--- Object files checksummed ---\n"
fi

View file

@ -28,6 +28,7 @@ usage:
clean:
@printf "\n\n--- Cleaning branch $$(BRANCH) $(OS) $(COMPILER) $(DATAMODEL) ---\n\n"
rm -rf $(BUILDDIR)
rm -f $(VISHAP)
@ -374,7 +375,7 @@ confidence:
if [ "$(PLATFORM)" != "windows" ] ; then cd src/test/confidence/signal; ./test.sh "$(INSTALLDIR)"; fi
cd src/test/confidence/lola; ./test.sh "$(INSTALLDIR)"
cd src/test/confidence/arrayassignment; ./test.sh "$(INSTALLDIR)"
@printf "\n\n--- Branch $$(git rev-parse --abbrev-ref HEAD) $(OS) $(COMPILER) $(DATAMODEL) confidence tests passed ---\n\n"
@printf "\n\n--- Confidence tests passed ---\n\n"