Makefile.in 842 B

12345678910111213141516171819202122232425262728293031323334
  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 ($(TARGET_avr32),y)
  5. TESTS_DISABLED += tst-inotify
  6. endif
  7. ifeq ($(UCLIBC_HAS_LFS),)
  8. TESTS_DISABLED += dirent64
  9. TESTS_DISABLED += tst-statfs # assuming host has LFS on
  10. endif
  11. CFLAGS_dirent64 := -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
  12. ifeq ($(UCLIBC_LINUX_SPECIFIC),)
  13. TESTS_DISABLED += tst-inotify
  14. endif
  15. ifeq ($(UCLIBC_HAS_GLOB),)
  16. TESTS_DISABLED += bug-glob2
  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)