Browse Source

Scrub up a few test things

Eric Andersen 23 years ago
parent
commit
9de66e4373
2 changed files with 7 additions and 7 deletions
  1. 4 4
      test/Rules.mak
  2. 3 3
      test/stdlib/Makefile

+ 4 - 4
test/Rules.mak

@@ -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

+ 3 - 3
test/stdlib/Makefile

@@ -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 " "