Delete intermediate Makefiles after comparison
This commit is contained in:
parent
47dae65f00
commit
06605ef6b0
@ -30,6 +30,7 @@ PROGNAME="tests.sh"
|
|||||||
CONFIGURE="${OBJDIR}../src/configure"
|
CONFIGURE="${OBJDIR}../src/configure"
|
||||||
DATE="date"
|
DATE="date"
|
||||||
DIFF="diff"
|
DIFF="diff"
|
||||||
|
RM="rm"
|
||||||
|
|
||||||
|
|
||||||
#functions
|
#functions
|
||||||
@ -53,6 +54,7 @@ _test()
|
|||||||
$CONFIGURE -O "$system" -- "$subdir" 2>&1 || return 2
|
$CONFIGURE -O "$system" -- "$subdir" 2>&1 || return 2
|
||||||
$DIFF -- "$subdir/Makefile.$system" "$subdir/Makefile" 2>&1
|
$DIFF -- "$subdir/Makefile.$system" "$subdir/Makefile" 2>&1
|
||||||
res=$?
|
res=$?
|
||||||
|
$RM -- "$subdir/Makefile"
|
||||||
if [ $res -ne 0 ]; then
|
if [ $res -ne 0 ]; then
|
||||||
echo "$system $subdir: Failed with error code $res"
|
echo "$system $subdir: Failed with error code $res"
|
||||||
echo "$system $subdir: FAIL" 1>&2
|
echo "$system $subdir: FAIL" 1>&2
|
||||||
|
Loading…
Reference in New Issue
Block a user