Makefile.in 903 B

12345678910111213141516171819202122232425262728293031323334353637
  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. ifeq ($(UCLIBC_HAS_UTMP),)
  19. TESTS_DISABLED += tst-utmp
  20. endif
  21. DODIFF_dirent := 1
  22. DODIFF_dirent64 := 1
  23. DODIFF_tst-statfs := 1
  24. DODIFF_tst-statvfs := 1
  25. OPTS_bug-glob1 := $(PWD)
  26. OPTS_tst-fnmatch := < tst-fnmatch.input
  27. MNTENTS = $(shell mount | while read dev on mp rest; do echo $$mp; done)
  28. OPTS_tst-statfs := $(MNTENTS)
  29. OPTS_tst-statvfs := $(MNTENTS)