summaryrefslogtreecommitdiff
path: root/test/assert
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-01 00:02:24 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-01 00:02:24 +0000
commit095ca55f2edd965fa9f3a5d3a4c98a7d7e852ed9 (patch)
tree074540e563757454c2c4adce2e3799a5ab766db8 /test/assert
parentde8b8b0b0bdd0f6012187dfc3046cac098000bb0 (diff)
remove old depend on Config and make it so that a test failure aborts the make process
Diffstat (limited to 'test/assert')
-rw-r--r--test/assert/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/assert/Makefile b/test/assert/Makefile
index 15430ec80..b0fb40038 100644
--- a/test/assert/Makefile
+++ b/test/assert/Makefile
@@ -21,7 +21,7 @@ include ../Rules.mak
TARGETS=assert
all: $(TARGETS)
-assert: assert.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
+assert: assert.c Makefile $(TESTDIR)/Rules.mak
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
@@ -29,7 +29,7 @@ assert: assert.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -./$@
+ ./$@ ; ret=$$? ; test $$ret -eq 134
-@ echo " "
clean: