summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-09-27 05:27:43 +0000
committerEric Andersen <andersen@codepoet.org>2001-09-27 05:27:43 +0000
commit9de66e437363337aed4161e29f732c95850a030c (patch)
tree7c9f7857aaf1b6b9ac7a3244827aead6b5072b52
parentfec403c593168e63ad7e6414f6e8df8ab11a7d8f (diff)
Scrub up a few test things
-rw-r--r--test/Rules.mak8
-rw-r--r--test/stdlib/Makefile6
2 files changed, 7 insertions, 7 deletions
diff --git a/test/Rules.mak b/test/Rules.mak
index a12ba3be6..1ac796fc9 100644
--- a/test/Rules.mak
+++ b/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
diff --git a/test/stdlib/Makefile b/test/stdlib/Makefile
index 061933e03..aad82827d 100644
--- a/test/stdlib/Makefile
+++ b/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 " "