diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-01-02 06:30:14 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-01-02 06:30:14 +0000 |
commit | eae91bb3afc7976e855f21cb916bb3caaf513933 (patch) | |
tree | 9627e06e15117dfc5d11abab0d650e278a8431a3 /test/signal/Makefile | |
parent | 06d634eab66c7ebce0fe02d87b2c0b48ac4fa72b (diff) |
Add a test for a sigchld bug
Diffstat (limited to 'test/signal/Makefile')
-rw-r--r-- | test/signal/Makefile | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/test/signal/Makefile b/test/signal/Makefile index 07bd58cee..b3c6eee79 100644 --- a/test/signal/Makefile +++ b/test/signal/Makefile @@ -21,7 +21,7 @@ include $(TESTDIR)/Rules.mak CFLAGS += -D_GNU_SOURCE -TARGETS=signal signal_glibc +TARGETS=signal signal_glibc sigchld sigchld_glibc all: $(TARGETS) signal: signal.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(CC) @@ -46,6 +46,28 @@ signal_glibc: signal.c Makefile -./$@ -@ echo " " +sigchld: sigchld.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(CC) + -@ echo "-------" + -@ echo " " + -@ echo "Compiling vs uClibc: " + -@ echo " " + $(CC) $(CFLAGS) -c $< -o $@.o + $(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS) + $(STRIPTOOL) -x -R .note -R .comment $@ + -./$@ + -@ echo " " + +sigchld_glibc: sigchld.c Makefile + -@ echo "-------" + -@ echo " " + -@ echo "Compiling vs GNU libc: " + -@ echo " " + $(HOST_CC) $(GLIBC_CFLAGS) -c $< -o $@.o + $(HOST_CC) $(GLIBC_LDFLAGS) $@.o -o $@ + $(STRIPTOOL) -x -R .note -R .comment $@ + -./$@ + -@ echo " " + clean: rm -f *.[oa] *~ core $(TARGETS) |