1 ################################################################################
5 ################################################################################
7 UCLIBC_NG_TEST_VERSION
= c9b9876cefc142a23aa622b821290ed16af80058
8 UCLIBC_NG_TEST_SITE
= git
://uclibc-ng.org
/git
/uclibc-ng-test
9 UCLIBC_NG_TEST_LICENSE
= LGPLv2.1
+
10 UCLIBC_NG_TEST_LICENSE_FILES
= COPYING.LIB
12 # the math tests are recently synced from glibc and need more adaption before
13 # regular testing is possible
14 UCLIBC_NG_TEST_MAKE_ENV
+= NO_MATH
=1
16 # locale tests are not compatible with musl, yet
17 ifeq ($(BR2_TOOLCHAIN_USES_MUSL
),y
)
18 UCLIBC_NG_TEST_MAKE_ENV
+= NO_LOCALE
=1
20 ifeq ($(BR2_USE_WCHAR
),)
21 UCLIBC_NG_TEST_MAKE_ENV
+= NO_WCHAR
=1
23 ifeq ($(BR2_ENABLE_LOCALE
),)
24 UCLIBC_NG_TEST_MAKE_ENV
+= NO_LOCALE
=1
26 ifeq ($(BR2_TOOLCHAIN_HAS_THREADS
),)
27 UCLIBC_NG_TEST_MAKE_ENV
+= NO_TLS
=1 NO_THREADS
=1
29 ifeq ($(BR2_TOOLCHAIN_HAS_THREADS_NPTL
),)
30 UCLIBC_NG_TEST_MAKE_ENV
+= NO_TLS
=1 NO_NPTL
=1
32 # most NPTL/TLS tests use dlopen
33 ifeq ($(BR2_STATIC_LIBS
),y
)
34 UCLIBC_NG_TEST_MAKE_ENV
+= NO_TLS
=1 NO_NPTL
=1 NO_DL
=1
37 # to execute tests in a deterministic order, call test_gen separately
38 define UCLIBC_NG_TEST_BUILD_CMDS
39 $(TARGET_MAKE_ENV
) $(UCLIBC_NG_TEST_MAKE_ENV
) $(MAKE
) -C
$(@D
) \
41 UCLIBC_EXTRA_CFLAGS
="$(TARGET_CFLAGS)" \
42 UCLIBC_EXTRA_LDFLAGS
="$(TARGET_LDFLAGS)" \
44 $(TARGET_MAKE_ENV
) $(UCLIBC_NG_TEST_MAKE_ENV
) $(MAKE1
) -C
$(@D
) \
46 UCLIBC_EXTRA_CFLAGS
="$(TARGET_CFLAGS)" \
50 define UCLIBC_NG_TEST_INSTALL_TARGET_CMDS
51 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
) DESTDIR
="$(TARGET_DIR)" install
54 $(eval
$(generic-package
))