summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2020-03-04 15:38:48 +1100
committerDavid Gibson <david@gibson.dropbear.id.au>2020-03-04 15:38:48 +1100
commit95ec8ef706bd776f3154f6a4dfa11b07433a2a80 (patch)
tree2bab3070dedba50c151cd8dff669329ee1a8a483 /tests
parent2b5f62d109a24fd7032ed790dbf74f8dc7962313 (diff)
downloaddevice-tree-compiler-95ec8ef706bd776f3154f6a4dfa11b07433a2a80.tar.gz
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>
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.tests6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Makefile.tests b/tests/Makefile.tests
index 51259f0..f3997e2 100644
--- a/tests/Makefile.tests
+++ b/tests/Makefile.tests
@@ -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)