mirror of
https://github.com/dgibson/dtc.git
synced 2026-01-22 01:30:34 -05:00
tests: No need to explicitly pass $PYTHON from Make to run_tests.sh
Make automatically passes its variables through the environment, so we don't need to explicitly copy this one into the test script. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
2b5f62d109
commit
95ec8ef706
1 changed files with 3 additions and 3 deletions
|
|
@ -82,18 +82,18 @@ tests_clean:
|
|||
rm -rf $(TESTS_CLEANDIRS)
|
||||
|
||||
check: tests ${TESTS_BIN} $(TESTS_PYLIBFDT)
|
||||
cd $(TESTS_PREFIX); PYTHON=$(PYTHON) ./run_tests.sh
|
||||
cd $(TESTS_PREFIX); ./run_tests.sh
|
||||
|
||||
ifeq ($(NO_VALGRIND),1)
|
||||
checkm:
|
||||
@echo "make checkm requires valgrind, but NO_VALGRIND=1"
|
||||
else
|
||||
checkm: tests ${TESTS_BIN} $(TESTS_PYLIBFDT)
|
||||
cd $(TESTS_PREFIX); PYTHON=$(PYTHON) ./run_tests.sh -m
|
||||
cd $(TESTS_PREFIX); ./run_tests.sh -m
|
||||
endif
|
||||
|
||||
checkv: tests ${TESTS_BIN} $(TESTS_PYLIBFDT)
|
||||
cd $(TESTS_PREFIX); PYTHON=$(PYTHON) ./run_tests.sh -v
|
||||
cd $(TESTS_PREFIX); ./run_tests.sh -v
|
||||
|
||||
ifneq ($(DEPTARGETS),)
|
||||
-include $(TESTS_DEPFILES)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue