2 # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
4 ifeq ($(UCLIBC_HAS_LFS),)
5 TESTS_DISABLED := tst-preadwrite64 tst-posix_fallocate64
7 ifeq ($(UCLIBC_HAS_ADVANCED_REALTIME),)
8 TESTS_DISABLED := tst-posix_fallocate
10 OPTS_getopt := -abcXXX -9
11 OPTS_getopt_long := --add XXX --delete YYY --verbose
12 ifeq ($(UCLIBC_HAS_GNU_GETOPT),y)
13 OPTS_tstgetopt := -a -b -cfoobar --required foobar --optional=bazbug --none random --col --color --colour
15 # reordering is not supported, behaves as if POSIXLY_CORRECT would be set
16 OPTS_tstgetopt := -a -b -cfoobar --required foobar --optional=bazbug --none --colou --color --colour random
19 # getconf.c lives in utils/
20 # Testsuite cannot currently be built with O= anyway, so hardcode path here
22 $(LN_S) ../../utils/$(@F) .
23 EXTRA_CLEAN += getconf.c
24 TESTS_DISABLED += getconf
25 CFLAGS_getconf = -DGETCONF_DIR='"$(CURDIR)"'
26 shell_tst-getconf: getconf getconf_glibc