]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
selftests/nolibc: rename Makefile
authorThomas Weißschuh <linux@weissschuh.net>
Fri, 20 Jun 2025 21:39:32 +0000 (23:39 +0200)
committerThomas Weißschuh <linux@weissschuh.net>
Mon, 23 Jun 2025 20:52:02 +0000 (22:52 +0200)
The nolibc tests are not real kselftests, they work differently and
provide a different interface. Users trying to use them like real
selftests may be confused and the tests are not executed by CI systems.

To make space for an integration with the kselftest framework, move the
custom tests out of the way.
The custom tests are still useful to keep as they provide functionality
not provided by kselftests.

Acked-by: Willy Tarreau <w@1wt.eu>
Link: https://lore.kernel.org/r/20250620-nolibc-selftests-v1-3-f6b2ce7c5071@weissschuh.net
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
tools/testing/selftests/nolibc/Makefile.nolibc [moved from tools/testing/selftests/nolibc/Makefile with 100% similarity]
tools/testing/selftests/nolibc/run-tests.sh

index 8277599e6441a933d9c1ec5003acf49b06df226f..279fbd93ef70497868689b7f1e14ddc6c5c1a15f 100755 (executable)
@@ -169,7 +169,7 @@ test_arch() {
        if [ "$werror" -ne 0 ]; then
                CFLAGS_EXTRA="$CFLAGS_EXTRA -Werror"
        fi
-       MAKE=(make -j"${nproc}" XARCH="${arch}" CROSS_COMPILE="${cross_compile}" LLVM="${llvm}" O="${build_dir}")
+       MAKE=(make -f Makefile.nolibc -j"${nproc}" XARCH="${arch}" CROSS_COMPILE="${cross_compile}" LLVM="${llvm}" O="${build_dir}")
 
        case "$test_mode" in
                'system')