Browse Source

Introduce ${TESTS_BIN} in Makefiles to identify tested executables.

main
Jon Loeliger 13 years ago
parent
commit
1456da7e2d
  1. 6
      Makefile
  2. 6
      tests/Makefile.tests

6
Makefile

@ -193,6 +193,12 @@ fdtput: $(FDTPUT_OBJS) $(LIBFDT_archive) @@ -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

#

6
tests/Makefile.tests

@ -65,13 +65,13 @@ tests_clean: @@ -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…
Cancel
Save