More complete build script with checking.
original commit: e5a95095ae636475c7e44255d083012855168fcd
This commit is contained in:
parent
6d9ed8bf04
commit
63a6884f9e
|
@ -1,8 +1,24 @@
|
|||
#!/bin/bash -e
|
||||
#!/bin/bash
|
||||
|
||||
./configure -m=$TARGET_MACHINE
|
||||
exitcode=$?
|
||||
if [ $exitcode -ne 0 ] ; then
|
||||
echo "Failed: configure step"
|
||||
exit $exitcode
|
||||
fi
|
||||
make
|
||||
exitcode=$?
|
||||
if [ $exitcode -ne 0 ] ; then
|
||||
echo "Failed: make step"
|
||||
exit $exitcode
|
||||
fi
|
||||
( cd ${TARGET_MACHINE}/mats && make partialx 2>&1 ) | tee Make.out | grep '^matting '
|
||||
echo "exit code: $?"
|
||||
cat ${TARGET_MACHINE}/mats/summary
|
||||
diff .travis/summary ${TARGET_MACHINE}/mats/summary
|
||||
diff -q .travis/summary ${TARGET_MACHINE}/mats/summary
|
||||
exitcode=$?
|
||||
|
||||
if [ $exitcode -ne 0 ] ; then
|
||||
echo "Failed: testing step"
|
||||
echo "mats summary:"
|
||||
cat ${TARGET_MACHINE}/mats/summary
|
||||
exit $exitcode
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user