Makefile.in 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # uClibc-ng unistd tests
  2. # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  3. TESTS_DISABLED :=
  4. # If LFS is not set, get rid of all *64 tests up front
  5. ifeq ($(UCLIBC_HAS_LFS),)
  6. TESTS_DISABLED += tst-preadwrite64
  7. endif
  8. # If we don't have LINUX_SPECIFIC, then get rid of tst-fallocate
  9. ifeq ($(UCLIBC_LINUX_SPECIFIC),)
  10. TESTS_DISABLED += tst-fallocate
  11. endif
  12. ifeq ($(TARGET_ARCH),avr32)
  13. TESTS_DISABLED += tst-fallocate tst-posix_fallocate tst-fallocate64
  14. endif
  15. # The logic is similar for HAS_ADVANCED_REALTIME and
  16. # tst-posix_fallocate/tst-posix_fallocate64
  17. ifeq ($(UCLIBC_HAS_ADVANCED_REALTIME),)
  18. TESTS_DISABLED += tst-posix_fallocate
  19. endif
  20. OPTS_getopt := -abcXXX -9
  21. OPTS_getopt_long := --add XXX --delete YYY --verbose
  22. ifeq ($(UCLIBC_HAS_GNU_GETOPT),y)
  23. OPTS_tstgetopt := -a -b -cfoobar --required foobar --optional=bazbug --none random --col --color --colour
  24. else
  25. # reordering is not supported, behaves as if POSIXLY_CORRECT would be set
  26. OPTS_tstgetopt := -a -b -cfoobar --required foobar --optional=bazbug --none --colou --color --colour random
  27. endif
  28. # for embedded systems 4 GB disk space is not available
  29. TESTS_DISABLED += tst-posix_fallocate64 tst-fallocate64