summaryrefslogtreecommitdiff
path: root/test/assert/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/assert/Makefile')
-rw-r--r--test/assert/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/assert/Makefile b/test/assert/Makefile
index 7b30a69f7..41bb04957 100644
--- a/test/assert/Makefile
+++ b/test/assert/Makefile
@@ -30,8 +30,9 @@ assert: assert.c Makefile $(TOPDIR)libc.a
-@ echo " "
$(CC) $(XCFLAGS) -c $< -o $@.o
$(CC) $(XLDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
- -@ echo "This is supposed to core dump on test #3"
-./$@
+ -@ echo "This was supposed to core dump on test #3"
+ -@rm -f core
-@ echo " "
assert_glibc: assert.c Makefile $(TOPDIR)libc.a
@@ -41,8 +42,9 @@ assert_glibc: assert.c Makefile $(TOPDIR)libc.a
-@ echo " "
$(CC) $(YCFLAGS) -c $< -o $@.o
$(CC) $(YLDFLAGS) --static $@.o -o $@
- -@ echo "This is supposed to core dump on test #3"
-./$@
+ -@ echo "This was supposed to core dump on test #3"
+ -@rm -f core
-@ echo " "
clean: