aboutsummaryrefslogtreecommitdiff
path: root/posix/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'posix/Makefile')
-rw-r--r--posix/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/posix/Makefile b/posix/Makefile
index 285f3b3..2b14fac 100644
--- a/posix/Makefile
+++ b/posix/Makefile
@@ -28,7 +28,8 @@ headers := sys/utsname.h sys/times.h sys/wait.h sys/types.h unistd.h \
bits/waitflags.h bits/waitstatus.h sys/unistd.h sched.h \
bits/sched.h re_comp.h wait.h
-distribute := confstr.h TESTS TESTS2C.sed testcases.h
+distribute := confstr.h TESTS TESTS2C.sed testcases.h \
+ globtest.c globtest.sh
routines := \
uname \
@@ -60,6 +61,11 @@ before-compile := testcases.h
include ../Rules
+ifeq (no,$(cross-compiling))
+tests: $(objpfx)globtest
+ $(SHELL) -e globtest.sh $(common-objpfx)
+endif
+
CFLAGS-regex.c = -Wno-unused -Wno-strict-prototypes
CFLAGS-getaddrinfo.c = -DRESOLVER