Turns out the suposedly extraneous quoting is required.
Also append success message to build so testbed can catch it and find
any error without having to enumerate all failure cases.
install-pinger:
chown root $(DEFAULT_PINGER)
chmod 4711 $(DEFAULT_PINGER)
+
+all-am:
+ @echo "Build Successful."
dnl eCAP support requires libecap
AC_CHECK_LIB([ecap], [main],
[ECAP_LIBS="-lecap"],
- AC_MSG_FAILURE([eCAP support requires libecap library, but no usable library was found])
+ [AC_MSG_FAILURE([eCAP support requires libecap library, but no usable library was found])]
)
fi
echo "TESTING: ${arg}"
../test-suite/buildtest.sh ".${arg}"
grep -E "${errors}" buildtest_*.log && exit 1
+ result=`tail -2 buildtest_*.log | head -1`
+ test "${result}" = "Build Successful." || ( tail -5 buildtest_*.log ; exit 1 )
cd ..
if test "${cleanup}" = "yes" ; then
echo "REMOVE: bt${layer}"