selftests/mount_setattr: fix to make run_tests failure
authorShuah Khan <skhan@linuxfoundation.org>
Mon, 13 Feb 2023 21:52:47 +0000 (14:52 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 13 Feb 2023 23:37:29 +0000 (16:37 -0700)
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>
tools/testing/selftests/mount_setattr/Makefile

index fde72df01b1188e2262e525c67bc5cce7336311e..0c0d7b1234c1930d9c369a864d4efa8d3c56167a 100644 (file)
@@ -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