summaryrefslogtreecommitdiff
path: root/test/string
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-01 00:08:24 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-01 00:08:24 +0000
commit6eb01343b46aab40475112f05aeaff1a367223df (patch)
tree8231f10f5318f58ed72c566a005f7f57b77c5c04 /test/string
parent095ca55f2edd965fa9f3a5d3a4c98a7d7e852ed9 (diff)
make test output nicer so its easier to go through a log of `make -s` and find out what works/fails
Diffstat (limited to 'test/string')
-rw-r--r--test/string/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/test/string/Makefile b/test/string/Makefile
index 8160241f2..1bfbcc2ca 100644
--- a/test/string/Makefile
+++ b/test/string/Makefile
@@ -27,7 +27,7 @@ all: $(TARGETS)
string: string.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
- -@ echo "Compiling vs uClibc: "
+ -@ echo "Compiling $@ vs uClibc: "
-@ echo " "
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
@@ -38,7 +38,7 @@ string: string.c Makefile $(TESTDIR)/Rules.mak
string_glibc: string.c Makefile
-@ echo "-------"
-@ echo " "
- -@ echo "Compiling vs GNU libc: "
+ -@ echo "Compiling $@ vs GNU libc: "
-@ echo " "
$(HOSTCC) $(GLIBC_CFLAGS) -c $< -o $@.o
$(HOSTCC) $(GLIBC_LDFLAGS) $@.o -o $@
@@ -49,7 +49,7 @@ string_glibc: string.c Makefile
testcopy: testcopy.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
- -@ echo "Compiling vs uClibc: "
+ -@ echo "Compiling $@ vs uClibc: "
-@ echo " "
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
@@ -60,7 +60,7 @@ testcopy: testcopy.c Makefile $(TESTDIR)/Rules.mak
testcopy_glibc: testcopy.c Makefile
-@ echo "-------"
-@ echo " "
- -@ echo "Compiling vs GNU libc: "
+ -@ echo "Compiling $@ vs GNU libc: "
-@ echo " "
$(HOSTCC) $(GLIBC_CFLAGS) -c $< -o $@.o
$(HOSTCC) $(GLIBC_LDFLAGS) $@.o -o $@
@@ -80,7 +80,7 @@ testcopy_diff: testcopy testcopy_glibc
strerror: ../../libc/string/strerror.c $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
- -@ echo "Compiling vs uClibc: "
+ -@ echo "Compiling $@ vs uClibc: "
-@ echo " "
$(CC) $(CFLAGS) -DCHECK_BUF -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
@@ -91,7 +91,7 @@ strerror: ../../libc/string/strerror.c $(TESTDIR)/Rules.mak
strsignal: ../../libc/string/strsignal.c
-@ echo "-------"
-@ echo " "
- -@ echo "Compiling vs uClibc: "
+ -@ echo "Compiling $@ vs uClibc: "
-@ echo " "
$(CC) $(CFLAGS) -DCHECK_BUF -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
@@ -99,8 +99,5 @@ strsignal: ../../libc/string/strsignal.c
./$@
-@ echo " "
-
clean:
$(RM) *.[oa] *~ core $(TARGETS) testcopy.gnu.out testcopy.out
-
-