summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/Test.mak9
-rw-r--r--test/unistd/Makefile3
2 files changed, 10 insertions, 2 deletions
diff --git a/test/Test.mak b/test/Test.mak
index 9519eb9ea..6e1ced516 100644
--- a/test/Test.mak
+++ b/test/Test.mak
@@ -22,7 +22,14 @@ U_TARGETS := $(TESTS)
G_TARGETS := $(patsubst %,%_glibc,$(U_TARGETS))
U_TARGETS += $(U_TESTS)
G_TARGETS += $(G_TESTS)
-TARGETS = $(U_TARGETS) $(G_TARGETS)
+
+TARGETS =
+ifeq ($(GLIBC_ONLY),)
+TARGETS += $(U_TARGETS)
+endif
+ifeq ($(UCLIBC_ONLY),)
+TARGETS += $(G_TARGETS)
+endif
all: $(TARGETS)
diff --git a/test/unistd/Makefile b/test/unistd/Makefile
index 4db50174d..3640d7c6a 100644
--- a/test/unistd/Makefile
+++ b/test/unistd/Makefile
@@ -1,9 +1,10 @@
# uClibc unistd tests
# Licensed under the GNU Library General Public License, see COPYING.LIB
-TESTS = clone errno fork getcwd getopt getopt_long preadwrite vfork
+TESTS = clone errno fork getcwd getopt getopt_long preadwrite tstgetopt vfork
include ../Test.mak
export OPTS_getopt = -abcXXX -9
export OPTS_getopt_long = --add XXX --delete YYY --verbose
+export OPTS_tstgetopt = -a -b -cfoobar --required foobar --optional=bazbug --none random --col --color --colour