summaryrefslogtreecommitdiff
path: root/test/assert/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-10-17 18:15:35 +0000
committerEric Andersen <andersen@codepoet.org>2000-10-17 18:15:35 +0000
commit6dd3cd39168bfd8d04e79f4c3be81f390c9c915b (patch)
tree8768d1ff10c2dec77f60404aadd9af2f25256925 /test/assert/Makefile
parentcba6fcd3900c3c54b4b3950c2d5670e2665055b9 (diff)
Clean up after ourselves
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: