OSDN Git Service

Scrub up a few test things
authorEric Andersen <andersen@codepoet.org>
Thu, 27 Sep 2001 05:27:43 +0000 (05:27 -0000)
committerEric Andersen <andersen@codepoet.org>
Thu, 27 Sep 2001 05:27:43 +0000 (05:27 -0000)
test/Rules.mak
test/stdlib/Makefile

index a12ba3b..1ac796f 100644 (file)
@@ -10,8 +10,8 @@ include $(TESTDIR)../Config
 include $(TESTDIR)Config
 
 
-NATIVE_ARCH = $(shell uname -m | sed -e 's/i.86/i386/' -e 's/sparc.*/sparc/' \
-       -e 's/arm.*/arm/g' -e 's/m68k.*/m68k/' -e 's/ppc/powerpc/')
+NATIVE_ARCH = ${shell uname -m | sed -e 's/i.86/i386/' -e 's/sparc.*/sparc/' \
+       -e 's/arm.*/arm/g' -e 's/m68k.*/m68k/' -e 's/ppc/powerpc/'}
 
 # If you are running a cross compiler, you may want to set this
 # to something more interesting...
@@ -28,8 +28,8 @@ LSFLAGS = -l
 WARNINGS=-Wall
 
 # use '-Os' optimization if available, else use -O2
-OPTIMIZATION = $(shell if $(CC) -Os -S -o /dev/null -xc /dev/null >/dev/null 2>&1; \
-    then echo "-Os"; else echo "-O2" ; fi)
+OPTIMIZATION = ${shell if $(CC) -Os -S -o /dev/null -xc /dev/null >/dev/null 2>&1; \
+    then echo "-Os"; else echo "-O2" ; fi}
 
 ifeq ($(DODEBUG),true)
     CFLAGS +=$(WARNINGS) $(OPTIMIZATION) -g
index 061933e..aad8282 100644 (file)
@@ -85,7 +85,7 @@ teststrtol: teststrtol.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(CC)
        $(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
        $(STRIPTOOL) -x -R .note -R .comment $@
        -$(LDD) $@
-       ls -sh $@
+       ls -l $@
        -./$@ > $@.out
        -@ echo " "
 
@@ -98,7 +98,7 @@ teststrtol_glibc: teststrtol.c Makefile
        $(HOST_CC) $(GLIBC_LDFLAGS) $@.o -o $@
        $(STRIPTOOL) -x -R .note -R .comment $@
        -$(LDD) $@
-       ls -sh $@
+       ls -l $@
        -./$@ > $@.out
        -@ echo " "
 
@@ -132,7 +132,7 @@ qsort_glibc: qsort.c Makefile
        $(HOST_CC) $(GLIBC_LDFLAGS) $@.o -o $@
        $(STRIPTOOL) -x -R .note -R .comment $@
        -$(LDD) $@
-       ls -sh $@
+       ls -l $@
        -./$@ > $@.out
        -@ echo " "