Introduce ${TESTS_BIN} in Makefiles to identify tested executables.
parent
1ede50c355
commit
1456da7e2d
6
Makefile
6
Makefile
|
@ -193,6 +193,12 @@ fdtput: $(FDTPUT_OBJS) $(LIBFDT_archive)
|
|||
# Testsuite rules
|
||||
#
|
||||
TESTS_PREFIX=tests/
|
||||
|
||||
TESTS_BIN += dtc
|
||||
TESTS_BIN += convert-dtsv0
|
||||
TESTS_BIN += fdtput
|
||||
TESTS_BIN += fdtget
|
||||
|
||||
include tests/Makefile.tests
|
||||
|
||||
#
|
||||
|
|
|
@ -65,13 +65,13 @@ tests_clean:
|
|||
rm -f $(STD_CLEANFILES:%=$(TESTS_PREFIX)%)
|
||||
rm -f $(TESTS_CLEANFILES)
|
||||
|
||||
check: tests dtc convert-dtsv0
|
||||
check: tests ${TESTS_BIN}
|
||||
cd $(TESTS_PREFIX); ./run_tests.sh
|
||||
|
||||
checkm: tests dtc convert-dtsv0
|
||||
checkm: tests ${TESTS_BIN}
|
||||
cd $(TESTS_PREFIX); ./run_tests.sh -m 2>&1 | tee vglog.$$$$
|
||||
|
||||
checkv: tests dtc convert-dtsv0
|
||||
checkv: tests ${TESTS_BIN}
|
||||
cd $(TESTS_PREFIX); ./run_tests.sh -v
|
||||
|
||||
ifneq ($(DEPTARGETS),)
|
||||
|
|
Loading…
Reference in New Issue