1*4882a593Smuzhiyunconfig BR2_PACKAGE_RT_TESTS 2*4882a593Smuzhiyun bool "rt-tests" 3*4882a593Smuzhiyun depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL 4*4882a593Smuzhiyun depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14 # deadline scheduler syscall 5*4882a593Smuzhiyun depends on BR2_USE_MMU # fork(), numactl 6*4882a593Smuzhiyun depends on !BR2_STATIC_LIBS # dlopen 7*4882a593Smuzhiyun depends on !BR2_TOOLCHAIN_USES_MUSL # cyclictest 8*4882a593Smuzhiyun select BR2_PACKAGE_NUMACTL 9*4882a593Smuzhiyun help 10*4882a593Smuzhiyun Set of utilities for testing the real-time behaviour of a 11*4882a593Smuzhiyun Linux system. 12*4882a593Smuzhiyun 13*4882a593Smuzhiyun All tools are simple C programs with no dependencies, except 14*4882a593Smuzhiyun the hwlatdetect utility, which is a Python script and 15*4882a593Smuzhiyun therefore requires the Python interpreter. It will only be 16*4882a593Smuzhiyun installed if a Python interpreter has been selected in the 17*4882a593Smuzhiyun Buildroot configuration. 18*4882a593Smuzhiyun 19*4882a593Smuzhiyun Note that this package requires a toolchain built with the 20*4882a593Smuzhiyun NPTL implementation of the pthread API (this is always the 21*4882a593Smuzhiyun case with glibc toolchains, but may not necessarily be the 22*4882a593Smuzhiyun case with uClibc toolchains, since the thread implementation 23*4882a593Smuzhiyun is configurable). 24*4882a593Smuzhiyun 25*4882a593Smuzhiyun https://wiki.linuxfoundation.org/realtime/documentation/howto/tools/rt-tests 26*4882a593Smuzhiyun 27*4882a593Smuzhiyuncomment "rt-tests may not work on MIPS with an external uClibc toolchain" 28*4882a593Smuzhiyun depends on BR2_PACKAGE_RT_TESTS 29*4882a593Smuzhiyun depends on BR2_TOOLCHAIN_EXTERNAL_UCLIBC 30*4882a593Smuzhiyun depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el 31*4882a593Smuzhiyun 32*4882a593Smuzhiyuncomment "rt-tests needs a uClibc or glibc toolchain w/ NPTL, headers >= 3.14, dynamic library" 33*4882a593Smuzhiyun depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS \ 34*4882a593Smuzhiyun || BR2_TOOLCHAIN_USES_MUSL || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14 35*4882a593Smuzhiyun depends on BR2_USE_MMU 36