summaryrefslogtreecommitdiff
path: root/test/unistd/Makefile.in
blob: c542f98fa3ec25e32fff9bf9f100544b440f00d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# uClibc unistd tests
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.

ifeq ($(UCLIBC_HAS_LFS),)
TESTS_DISABLED := tst-preadwrite64
endif
OPTS_getopt      := -abcXXX -9
OPTS_getopt_long := --add XXX --delete YYY --verbose
ifeq ($(UCLIBC_HAS_GNU_GETOPT),y)
OPTS_tstgetopt   := -a -b -cfoobar --required foobar --optional=bazbug --none random --col --color --colour
else
# reordering is not supported, behaves as if POSIXLY_CORRECT would be set
OPTS_tstgetopt   := -a -b -cfoobar --required foobar --optional=bazbug --none --colou --color --colour random
endif

# getconf.c lives in utils/
# Testsuite cannot currently be built with O= anyway, so hardcode path here
getconf.c:
	$(LN_S) ../../utils/$(@F) .
EXTRA_CLEAN    += getconf.c
TESTS_DISABLED += getconf
CFLAGS_getconf = -DGETCONF_DIR='"$(CURDIR)"'
shell_tst-getconf: getconf getconf_glibc