Makefile.in 842 B

123456789101112131415161718192021222324252627282930313233
  1. # uClibc misc tests
  2. # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  3. TESTS_DISABLED := outb tst-fnmatch bug-glob1 tst-gnuglob
  4. ifeq ($(UCLIBC_HAS_LFS),)
  5. TESTS_DISABLED += dirent64
  6. TESTS_DISABLED += tst-statfs # assuming host has LFS on
  7. endif
  8. CFLAGS_dirent64 := -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
  9. ifeq ($(UCLIBC_LINUX_SPECIFIC),)
  10. TESTS_DISABLED += tst-inotify
  11. endif
  12. ifeq ($(UCLIBC_HAS_GLOB),)
  13. TESTS_DISABLED += bug-glob2
  14. endif
  15. ifeq ($(UCLIBC_HAS_UTMPX),)
  16. TESTS_DISABLED += tst-utmpx
  17. endif
  18. DODIFF_dirent := 1
  19. DODIFF_dirent64 := 1
  20. DODIFF_tst-statfs := 1
  21. DODIFF_tst-statvfs := 1
  22. OPTS_bug-glob1 := $(PWD)
  23. OPTS_tst-fnmatch := < tst-fnmatch.input
  24. MNTENTS = $(shell mount | while read dev on mp rest; do echo $$mp; done)
  25. OPTS_tst-statfs := $(MNTENTS)
  26. OPTS_tst-statvfs := $(MNTENTS)