Skip to content

Commit 38f7251

Browse files
author
Shuah Khan
committed
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>
1 parent be16a24 commit 38f7251

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎tools/testing/selftests/sync/Makefile‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ CFLAGS += -O2 -g -std=gnu89 -pthread -Wall -Wextra
22
CFLAGS += -I../../../../usr/include/
33
LDFLAGS += -pthread
44

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
68

7-
all: $(TEST_PROGS)
9+
all: $(TEST_CUSTOM_PROGS)
810

911
include ../lib.mk
1012

0 commit comments

Comments
 (0)