]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
selftests: sync: use TEST_CUSTOM_PROGS instead of TEST_PROGS
authorShuah Khan <shuahkh@osg.samsung.com>
Mon, 11 Sep 2017 19:46:44 +0000 (13:46 -0600)
committerShuah Khan <shuahkh@osg.samsung.com>
Thu, 21 Sep 2017 13:55:39 +0000 (07:55 -0600)
lib.mk var TEST_CUSTOM_PROGS is for tests that need custom build
rules. TEST_PROGS is used for test shell scripts. Fix it to use
TEST_CUSTOM_PROGS. lib.mk will run and install them.

Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/sync/Makefile

index 4981c6b6d050e95b77fa1540640a4b71770179f2..43db80b71e8082862d0d8c0e9849c54e4d6a3ef8 100644 (file)
@@ -2,9 +2,11 @@ CFLAGS += -O2 -g -std=gnu89 -pthread -Wall -Wextra
 CFLAGS += -I../../../../usr/include/
 LDFLAGS += -pthread
 
-TEST_PROGS = sync_test
+# lib.mk TEST_CUSTOM_PROGS var is for custome tests that need special
+# build rules. lib.mk will run and install them.
+TEST_CUSTOM_PROGS = sync_test
 
-all: $(TEST_PROGS)
+all: $(TEST_CUSTOM_PROGS)
 
 include ../lib.mk