summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShuah Khan <skhan@linuxfoundation.org>2023-02-13 14:52:47 -0700
committerShuah Khan <skhan@linuxfoundation.org>2023-02-13 16:37:29 -0700
commitaca5a0944c309c56267b0c1d001aa999ddb2fb1e (patch)
tree098b2cb35861616a91d547a3d8d626dd1f5f6ae8
parentd8e45bf1aed2e5fddd8985b5bb1aaf774a97aba8 (diff)
selftests/mount_setattr: fix to make run_tests failure
make run_tests doesn't run the test. Fix Makefile to set TEST_GEN_PROGS instead of TEST_GEN_FILES to fix the problem. run_tests runs TEST_GEN_PROGS, TEST_CUSTOM_PROGS, and TEST_PROGS. TEST_GEN_FILES is for files generated by tests. Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
-rw-r--r--tools/testing/selftests/mount_setattr/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/mount_setattr/Makefile b/tools/testing/selftests/mount_setattr/Makefile
index fde72df01b11..0c0d7b1234c1 100644
--- a/tools/testing/selftests/mount_setattr/Makefile
+++ b/tools/testing/selftests/mount_setattr/Makefile
@@ -2,6 +2,6 @@
# Makefile for mount selftests.
CFLAGS = -g $(KHDR_INCLUDES) -Wall -O2 -pthread
-TEST_GEN_FILES += mount_setattr_test
+TEST_GEN_PROGS := mount_setattr_test
include ../lib.mk