# uClibc-ng misc tests
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.

TESTS_DISABLED := outb tst-fnmatch bug-glob1 tst-gnuglob

ifeq ($(TARGET_ARCH),avr32)
TESTS_DISABLED += tst-inotify
endif

CFLAGS_dirent64 := -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
CFLAGS_tst-rlimit64 := -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64

DODIFF_dirent    := 1
DODIFF_dirent64  := 1
DODIFF_tst-statfs := 1
DODIFF_tst-statvfs := 1

OPTS_bug-glob1   := $(PWD)
OPTS_tst-fnmatch := < tst-fnmatch.input

MNTENTS = / /sys /proc /dev
OPTS_tst-statfs := $(MNTENTS)
OPTS_tst-statvfs := $(MNTENTS)
