Browse Source

cleanup a little, disable a test for or1k

Waldemar Brodkorb 8 years ago
parent
commit
938ada9f86
1 changed files with 3 additions and 19 deletions
  1. 3 19
      test/unistd/Makefile.in

+ 3 - 19
test/unistd/Makefile.in

@@ -2,35 +2,19 @@
 # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 
 
 TESTS_DISABLED :=
 TESTS_DISABLED :=
-# If LFS is not set, get rid of all *64 tests up front
-ifeq ($(UCLIBC_HAS_LFS),)
-TESTS_DISABLED += tst-preadwrite64
-endif
-
-# If we don't have LINUX_SPECIFIC, then get rid of tst-fallocate
-ifeq ($(UCLIBC_LINUX_SPECIFIC),)
-TESTS_DISABLED += tst-fallocate
-endif
 
 
 ifeq ($(TARGET_ARCH),avr32)
 ifeq ($(TARGET_ARCH),avr32)
 TESTS_DISABLED += tst-fallocate tst-posix_fallocate tst-fallocate64
 TESTS_DISABLED += tst-fallocate tst-posix_fallocate tst-fallocate64
 endif
 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
+ifeq ($(TARGET_ARCH),or1k)
+TESTS_DISABLED += tst-pselect
 endif
 endif
 
 
 OPTS_getopt      := -abcXXX -9
 OPTS_getopt      := -abcXXX -9
 OPTS_getopt_long := --add XXX --delete YYY --verbose
 OPTS_getopt_long := --add XXX --delete YYY --verbose
-ifeq ($(UCLIBC_HAS_GNU_GETOPT),y)
+# assume UCLIBC_HAS_GNU_GETOPT is enabled
 OPTS_tstgetopt   := -a -b -cfoobar --required foobar --optional=bazbug --none random --col --color --colour
 OPTS_tstgetopt   := -a -b -cfoobar --required foobar --optional=bazbug --none random --col --color --colour
-else
-# reordering is not supported, behaves as if POSIXLY_CORRECT would be set
-OPTS_tstgetopt   := -a -b -cfoobar --required foobar --optional=bazbug --none --colou --color --colour random
-endif
 
 
 # for embedded systems 4 GB disk space is not available
 # for embedded systems 4 GB disk space is not available
 TESTS_DISABLED += tst-posix_fallocate64 tst-fallocate64
 TESTS_DISABLED += tst-posix_fallocate64 tst-fallocate64
-