summaryrefslogtreecommitdiff
path: root/tests/Makefile.gnulib
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Makefile.gnulib')
-rw-r--r--tests/Makefile.gnulib67
1 files changed, 67 insertions, 0 deletions
diff --git a/tests/Makefile.gnulib b/tests/Makefile.gnulib
index 454cfe7..f86db50 100644
--- a/tests/Makefile.gnulib
+++ b/tests/Makefile.gnulib
@@ -77,6 +77,14 @@ EXTRA_DIST += test-c-strcase.sh test-c-strcasecmp.c test-c-strncasecmp.c
## end gnulib module c-strcase-tests
+## begin gnulib module dup2-tests
+
+TESTS += test-dup2
+check_PROGRAMS += test-dup2
+EXTRA_DIST += test-dup2.c
+
+## end gnulib module dup2-tests
+
## begin gnulib module environ-tests
TESTS += test-environ
@@ -113,6 +121,38 @@ EXTRA_libtests_a_SOURCES += exitfail.c
## end gnulib module exitfail
+## begin gnulib module fcntl
+
+BUILT_SOURCES += $(FCNTL_H)
+
+# We need the following in order to create <fcntl.h> when the system
+# doesn't have one that works with the given compiler.
+fcntl.h: fcntl.in.h
+ rm -f $@-t $@
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
+ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
+ -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
+ -e 's|@''GNULIB_OPEN''@|$(GNULIB_OPEN)|g' \
+ -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
+ < $(srcdir)/fcntl.in.h; \
+ } > $@-t
+ mv $@-t $@
+MOSTLYCLEANFILES += fcntl.h fcntl.h-t
+
+EXTRA_DIST += fcntl.in.h
+
+## end gnulib module fcntl
+
+## begin gnulib module fcntl-tests
+
+TESTS += test-fcntl
+check_PROGRAMS += test-fcntl
+
+EXTRA_DIST += test-fcntl.c
+
+## end gnulib module fcntl-tests
+
## begin gnulib module frexpl-nolibm-tests
TESTS += test-frexpl-nolibm
@@ -273,6 +313,24 @@ EXTRA_DIST += test-memchr.c zerosize-ptr.h
## end gnulib module memchr-tests
+## begin gnulib module open
+
+
+EXTRA_DIST += open.c
+
+EXTRA_libtests_a_SOURCES += open.c
+
+## end gnulib module open
+
+## begin gnulib module open-tests
+
+TESTS += test-open
+check_PROGRAMS += test-open
+
+EXTRA_DIST += test-open.c
+
+## end gnulib module open-tests
+
## begin gnulib module printf-frexp-tests
TESTS += test-printf-frexp
@@ -324,6 +382,15 @@ EXTRA_DIST += test-stdbool.c
## end gnulib module stdbool-tests
+## begin gnulib module stddef-tests
+
+TESTS += test-stddef
+check_PROGRAMS += test-stddef
+
+EXTRA_DIST += test-stddef.c
+
+## end gnulib module stddef-tests
+
## begin gnulib module stdint-tests
TESTS += test-stdint