diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-07-02 15:12:12 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-07-02 15:12:12 +0000 |
commit | d7ea5282bb07e875cf0f74fda018c528fc0a145d (patch) | |
tree | af19f068f7e6dc32f757cb869788ae9d190f1595 /test/unistd/Makefile | |
parent | 6c1fb5e17c2fb7db14e2d01f9afe150c588313b2 (diff) |
new testcase for clone()
Diffstat (limited to 'test/unistd/Makefile')
-rw-r--r-- | test/unistd/Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/unistd/Makefile b/test/unistd/Makefile index 0f972f956..cd3a84fbf 100644 --- a/test/unistd/Makefile +++ b/test/unistd/Makefile @@ -54,6 +54,28 @@ fork_glibc: fork.c ../testsuite.h Makefile ./$@ -@ echo " " +clone: clone.c ../testsuite.h Makefile $(TESTDIR)/Rules.mak + -@ 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 " " + +clone_glibc: clone.c ../testsuite.h Makefile + -@ echo "-------" + -@ echo " " + -@ echo "Compiling $@ vs glibc: " + -@ echo " " + $(HOSTCC) $(GLIBC_CFLAGS) -c $< -o $@.o + $(HOSTCC) $(GLIBC_LDFLAGS) $@.o -o $@ + $(STRIPTOOL) -x -R .note -R .comment $@ + ./$@ + -@ echo " " + vfork: vfork.c ../testsuite.h Makefile $(TESTDIR)/Rules.mak -@ echo "-------" -@ echo " " |