Makefile.in 779 B

1234567891011121314151617181920212223242526272829
  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. DODIFF_dirent := 1
  16. DODIFF_dirent64 := 1
  17. DODIFF_tst-statfs := 1
  18. DODIFF_tst-statvfs := 1
  19. OPTS_bug-glob1 := $(PWD)
  20. OPTS_tst-fnmatch := < tst-fnmatch.input
  21. MNTENTS = $(shell mount | while read dev on mp rest; do echo $$mp; done)
  22. OPTS_tst-statfs := $(MNTENTS)
  23. OPTS_tst-statvfs := $(MNTENTS)