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>
This commit is contained in:
Shuah Khan 2017-09-11 13:46:44 -06:00
parent be16a244c1
commit 38f7251852
1 changed files with 4 additions and 2 deletions

View 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