- make the master script only show the 'lst lines' summary when not
dumping the entire log anyway for vebose display
- make verbose mode show whats in the test directory when starting a build.
- make each run display the list of files/folders after distclean
echo "TESTING: ${layer}"
chmod -R 777 ${btlayer}
rm -f -r ${btlayer} && mkdir ${btlayer}
+ if test "${verbose}" = "yes" ; then
+ ls -la ${btlayer}
+ fi
{
result=255
cd ${btlayer}
if test $result -eq 0; then
# successful execution
- if test "$verbose" = yes; then
+ if test "${verbose}" = "yes"; then
echo "Build OK. Global result is $globalResult."
fi
else
- echo "Build Failed. Last log lines are:"
- tail -20 ${log}
- globalResult=1
+ if test "${verbose}" = "yes" ; then
+ echo "Build Failed. Last log lines are:"
+ tail -20 ${log}
+ else
+ echo "Build FAILED."
+ fi
+ globalResult=1
fi
if test "${cleanup}" = "yes" ; then
FILECOUNT=`ls -1 | grep -c .`
if test "${FILECOUNT}" != "0" ; then
make -k distclean || echo "distclean done. errors are unwanted but okay here."
- rm -f -r src/fs/aufs/.deps src/fs/diskd/.deps
+ ls -la .
+ rm -fr ./src/fs/aufs/.deps src/fs/diskd/.deps
fi
#