xref: /OK3568_Linux_fs/buildroot/package/ltp-testsuite/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_LTP_TESTSUITE_ARCH_SUPPORTS
2	bool
3	# Needs __sync*() built-ins for 4-byte data, except on a few
4	# architectures for which a specific implementation is
5	# provided in ltp-testsuite
6	default y if BR2_TOOLCHAIN_HAS_SYNC_4
7	default y if BR2_arc
8	# does not build on nios2, cachectl.h issue
9	depends on !BR2_nios2
10
11config BR2_PACKAGE_LTP_TESTSUITE
12	bool "ltp-testsuite"
13	depends on BR2_USE_MMU # fork()
14	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
15	depends on BR2_PACKAGE_LTP_TESTSUITE_ARCH_SUPPORTS
16	select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC
17	select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC
18	help
19	  The Linux Test Project provides a huge testsuite for Linux.
20
21	  http://linux-test-project.github.io
22
23if BR2_PACKAGE_LTP_TESTSUITE
24
25config BR2_PACKAGE_LTP_TESTSUITE_OPEN_POSIX
26	bool "Open POSIX testsuite"
27	default y
28	help
29	  Test suite for POSIX compliance. Included with the LTP.
30
31config BR2_PACKAGE_LTP_TESTSUITE_REALTIME
32	bool "Realtime testsuite"
33	default y
34	help
35	  Test suite for realtime kernels. Included with the LTP.
36
37endif
38
39comment "ltp-testsuite needs a toolchain w/ NPTL"
40	depends on BR2_PACKAGE_LTP_TESTSUITE_ARCH_SUPPORTS
41	depends on BR2_USE_MMU
42	depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
43