summaryrefslogtreecommitdiff
path: root/test/unistd/Makefile.in
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-09-09 21:20:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-09-09 21:20:07 +0200
commitdef0d92193606e184d356c4d2d1752526573f87c (patch)
treeb2460ec3b5eb1f11aa1d92f8909747dae123f0b0 /test/unistd/Makefile.in
parent032f47c7fd7580087d71f2e938dc4f95cc94ce92 (diff)
parent62d3a427afdea136c82bb599a18a593d9b32c533 (diff)
Merge remote-tracking branch 'origin/upstream'
Diffstat (limited to 'test/unistd/Makefile.in')
-rw-r--r--test/unistd/Makefile.in12
1 files changed, 11 insertions, 1 deletions
diff --git a/test/unistd/Makefile.in b/test/unistd/Makefile.in
index cfef22e76..ed33d9ae8 100644
--- a/test/unistd/Makefile.in
+++ b/test/unistd/Makefile.in
@@ -1,12 +1,22 @@
# uClibc unistd tests
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+# If LFS is not set, get rid of all *64 tests up front
ifeq ($(UCLIBC_HAS_LFS),)
-TESTS_DISABLED := tst-preadwrite64 tst-posix_fallocate64
+TESTS_DISABLED := tst-preadwrite64 tst-posix_fallocate64 tst-fallocate64
endif
+
+# If we don't have LINUX_SPECIFIC, then get rid of tst-fallocate
+ifeq ($(UCLIBC_LINUX_SPECIFIC),)
+TESTS_DISABLED += tst-fallocate
+endif
+
+# The logic is similar for HAS_ADVANCED_REALTIME and
+# tst-posix_fallocate/tst-posix_fallocate64
ifeq ($(UCLIBC_HAS_ADVANCED_REALTIME),)
TESTS_DISABLED += tst-posix_fallocate
endif
+
OPTS_getopt := -abcXXX -9
OPTS_getopt_long := --add XXX --delete YYY --verbose
ifeq ($(UCLIBC_HAS_GNU_GETOPT),y)