summaryrefslogtreecommitdiff
path: root/test/pthread/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-02-20 05:16:09 +0000
committerEric Andersen <andersen@codepoet.org>2002-02-20 05:16:09 +0000
commit07ebf927b17572d92e785533d6e8ac1668cc57c6 (patch)
tree058cba512f69bd8875934b798a11ae488e724bda /test/pthread/Makefile
parent4c210f02a200496e2693e41a21ef5f8727d91f56 (diff)
Add a test from Stefan Soucek for pthread_cond_timedwait(). On
mmu-less ARM perhaps sigsetjmp() isn't working?
Diffstat (limited to 'test/pthread/Makefile')
-rw-r--r--test/pthread/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/test/pthread/Makefile b/test/pthread/Makefile
index c4b1c9e5e..16eb16e0f 100644
--- a/test/pthread/Makefile
+++ b/test/pthread/Makefile
@@ -5,7 +5,7 @@ LDFLAGS +=
#EXTRA_LIBS += -lc -lgcc -lpthread
EXTRA_LIBS += -lpthread
-TARGETS=ex1 ex2 ex3 ex4 ex5 ex6
+TARGETS=ex1 ex2 ex3 ex4 ex5 ex6 ex7
all: $(TARGETS)
ex1: ex1.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(TESTCC)
@@ -74,6 +74,17 @@ ex6: ex6.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(TESTCC)
-./$@
-@ echo " "
+ex7: ex7.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(TESTCC)
+ -@ 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 " "
+
clean:
rm -f *.[oa] *~ core $(TARGETS)