From 9e878d3f76dda42e56c97032a77e768cfd5346b2 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 27 Jul 2005 01:53:47 +0000 Subject: dont run ls and make sure diff aborts if it fails --- test/stdlib/Makefile | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'test') diff --git a/test/stdlib/Makefile b/test/stdlib/Makefile index 6c485efe6..f7b03be1a 100644 --- a/test/stdlib/Makefile +++ b/test/stdlib/Makefile @@ -42,7 +42,6 @@ teststrtol: teststrtol.c Makefile $(TESTDIR)/Rules.mak $(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS) $(STRIPTOOL) -x -R .note -R .comment $@ -$(LDD) $@ - ls -l $@ ./$@ > $@.out -@ echo " " @@ -55,7 +54,6 @@ teststrtol_glibc: teststrtol.c Makefile $(HOSTCC) $(GLIBC_LDFLAGS) $@.o -o $@ $(STRIPTOOL) -x -R .note -R .comment $@ -$(LDD) $@ - ls -l $@ ./$@ > $@.out -@ echo " " @@ -64,7 +62,7 @@ teststrtol_diff: teststrtol_glibc teststrtol -@ echo " " -@ echo "Diffing output: " -@ echo " " - -diff -u teststrtol_glibc.out teststrtol.out + diff -u teststrtol_glibc.out teststrtol.out -@ echo " " qsort: qsort.c Makefile $(TESTDIR)/Rules.mak @@ -76,7 +74,6 @@ qsort: qsort.c Makefile $(TESTDIR)/Rules.mak $(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS) $(STRIPTOOL) -x -R .note -R .comment $@ -$(LDD) $@ - ls -l $@ ./$@ > $@.out -@ echo " " @@ -89,7 +86,6 @@ qsort_glibc: qsort.c Makefile $(HOSTCC) $(GLIBC_LDFLAGS) $@.o -o $@ $(STRIPTOOL) -x -R .note -R .comment $@ -$(LDD) $@ - ls -l $@ ./$@ > $@.out -@ echo " " @@ -98,7 +94,7 @@ qsort_diff: qsort_glibc qsort -@ echo " " -@ echo "Diffing output: " -@ echo " " - -diff -u qsort_glibc.out qsort.out + diff -u qsort_glibc.out qsort.out -@ echo " " teston_exit: teston_exit.c Makefile $(TESTDIR)/Rules.mak @@ -110,7 +106,6 @@ teston_exit: teston_exit.c Makefile $(TESTDIR)/Rules.mak $(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS) $(STRIPTOOL) -x -R .note -R .comment $@ -$(LDD) $@ - ls -l $@ ./$@ > $@.out -@ echo " " @@ -123,7 +118,6 @@ teston_exit_glibc: teston_exit.c Makefile $(HOSTCC) $(GLIBC_LDFLAGS) $@.o -o $@ $(STRIPTOOL) -x -R .note -R .comment $@ -$(LDD) $@ - ls -l $@ ./$@ > $@.out -@ echo " " @@ -132,7 +126,7 @@ teston_exit_diff: teston_exit_glibc teston_exit -@ echo " " -@ echo "Diffing output: " -@ echo " " - -diff -u teston_exit_glibc.out teston_exit.out + diff -u teston_exit_glibc.out teston_exit.out -@ echo " " testatexit: testatexit.c Makefile $(TESTDIR)/Rules.mak @@ -144,7 +138,6 @@ testatexit: testatexit.c Makefile $(TESTDIR)/Rules.mak $(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS) $(STRIPTOOL) -x -R .note -R .comment $@ -$(LDD) $@ - ls -l $@ ./$@ > $@.out -@ echo " " @@ -157,7 +150,6 @@ testatexit_glibc: testatexit.c Makefile $(HOSTCC) $(GLIBC_LDFLAGS) $@.o -o $@ $(STRIPTOOL) -x -R .note -R .comment $@ -$(LDD) $@ - ls -l $@ ./$@ > $@.out -@ echo " " @@ -166,7 +158,7 @@ testatexit_diff: testatexit_glibc testatexit -@ echo " " -@ echo "Diffing output: " -@ echo " " - -diff -u testatexit_glibc.out testatexit.out + diff -u testatexit_glibc.out testatexit.out -@ echo " " ptytest: ptytest.c Makefile $(TESTDIR)/Rules.mak @@ -178,7 +170,6 @@ ptytest: ptytest.c Makefile $(TESTDIR)/Rules.mak $(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS) $(STRIPTOOL) -x -R .note -R .comment $@ -$(LDD) $@ - ls -l $@ ./$@ -@ echo " " -- cgit v1.2.3