selftests: lib.mk: Do not process TEST_GEN_MODS_DIR
authorMarcos Paulo de Souza <mpdesouza@suse.com>
Wed, 21 Feb 2024 17:17:05 +0000 (14:17 -0300)
committerShuah Khan <skhan@linuxfoundation.org>
Wed, 28 Feb 2024 00:03:42 +0000 (17:03 -0700)
The directory itself doesn't need have path handling, since it's only to
mean where is the directory that contains modules to be built.

Signed-off-by: Marcos Paulo de Souza <mpdesouza@suse.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/lib.mk

index 0d8b7db927151b300a5c89346fa37b2597c7cbe7..286ce0ee102b539a0db797a4327efaee1af924a9 100644 (file)
@@ -54,12 +54,9 @@ endif
 # TEST_PROGS are for test shell scripts.
 # TEST_CUSTOM_PROGS and TEST_PROGS will be run by common run_tests
 # and install targets. Common clean doesn't touch them.
-# TEST_GEN_MODS_DIR is used to specify a directory with modules to be built
-# before the test executes. These modules are cleaned on the clean target as well.
 TEST_GEN_PROGS := $(patsubst %,$(OUTPUT)/%,$(TEST_GEN_PROGS))
 TEST_GEN_PROGS_EXTENDED := $(patsubst %,$(OUTPUT)/%,$(TEST_GEN_PROGS_EXTENDED))
 TEST_GEN_FILES := $(patsubst %,$(OUTPUT)/%,$(TEST_GEN_FILES))
-TEST_GEN_MODS_DIR := $(patsubst %,$(OUTPUT)/%,$(TEST_GEN_MODS_DIR))
 
 all: $(TEST_GEN_PROGS) $(TEST_GEN_PROGS_EXTENDED) $(TEST_GEN_FILES) \
        $(if $(TEST_GEN_MODS_DIR),gen_mods_dir)