diff options
author | Shuah Khan <shuahkh@osg.samsung.com> | 2017-09-11 15:46:44 -0400 |
---|---|---|
committer | Shuah Khan <shuahkh@osg.samsung.com> | 2017-09-21 09:55:39 -0400 |
commit | 38f7251852a0cd47f34af4a6f84df0fadafa8ac7 (patch) | |
tree | 7ea880277edf0e1d0ce6f004642960e374ea59b2 /tools | |
parent | be16a244c199983656e58ddb10d80c67197e502f (diff) |
selftests: sync: use TEST_CUSTOM_PROGS instead of TEST_PROGS
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>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/testing/selftests/sync/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/testing/selftests/sync/Makefile b/tools/testing/selftests/sync/Makefile index 4981c6b6d050..43db80b71e80 100644 --- a/tools/testing/selftests/sync/Makefile +++ b/tools/testing/selftests/sync/Makefile | |||
@@ -2,9 +2,11 @@ CFLAGS += -O2 -g -std=gnu89 -pthread -Wall -Wextra | |||
2 | CFLAGS += -I../../../../usr/include/ | 2 | CFLAGS += -I../../../../usr/include/ |
3 | LDFLAGS += -pthread | 3 | LDFLAGS += -pthread |
4 | 4 | ||
5 | TEST_PROGS = sync_test | 5 | # lib.mk TEST_CUSTOM_PROGS var is for custome tests that need special |
6 | # build rules. lib.mk will run and install them. | ||
7 | TEST_CUSTOM_PROGS = sync_test | ||
6 | 8 | ||
7 | all: $(TEST_PROGS) | 9 | all: $(TEST_CUSTOM_PROGS) |
8 | 10 | ||
9 | include ../lib.mk | 11 | include ../lib.mk |
10 | 12 | ||