summaryrefslogtreecommitdiff
path: root/gnulib/modules/select-tests
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib/modules/select-tests')
m---------gnulib0
-rw-r--r--gnulib/modules/select-tests37
2 files changed, 37 insertions, 0 deletions
diff --git a/gnulib b/gnulib
deleted file mode 160000
-Subproject 4fc10daa05477586fea99b6b3ca02a87d1102fa
diff --git a/gnulib/modules/select-tests b/gnulib/modules/select-tests
new file mode 100644
index 00000000..6019b449
--- /dev/null
+++ b/gnulib/modules/select-tests
@@ -0,0 +1,37 @@
+Files:
+tests/signature.h
+tests/test-select.c
+tests/test-select-fd.c
+tests/test-select-in.sh
+tests/test-select-out.sh
+tests/test-select-stdin.c
+
+Depends-on:
+stdbool
+netinet_in
+arpa_inet
+sys_ioctl
+extensions
+inet_pton
+errno
+perror
+socket
+bind
+setsockopt
+listen
+connect
+accept
+ioctl
+close
+gettimeofday
+
+configure.ac:
+AC_CHECK_HEADERS_ONCE([unistd.h sys/wait.h])
+
+Makefile.am:
+TESTS += test-select test-select-in.sh test-select-out.sh
+# test-select-stdin has to be run by hand.
+check_PROGRAMS += test-select test-select-fd test-select-stdin
+test_select_LDADD = $(LDADD) @LIBSOCKET@ $(INET_PTON_LIB)
+test_select_fd_LDADD = $(LDADD) @LIBSOCKET@
+test_select_stdin_LDADD = $(LDADD) @LIBSOCKET@