summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorcclauss <cclauss@me.com>2019-11-08 20:58:49 +0100
committercclauss <cclauss@me.com>2019-11-11 10:44:54 +0100
commite6a58a89cb01aaac668aabf4cab737c6503a27a1 (patch)
treeed152d5b71de45d9da38070e679ec98439738042 /Makefile
parent8ac771b8093f26ede5426a10ca243eed0d2af2ef (diff)
downloadandroid-node-v8-e6a58a89cb01aaac668aabf4cab737c6503a27a1.tar.gz
android-node-v8-e6a58a89cb01aaac668aabf4cab737c6503a27a1.tar.bz2
android-node-v8-e6a58a89cb01aaac668aabf4cab737c6503a27a1.zip
test: fix Python unittests in ./test and ./tools
Co-authored-by: @patrickhousley Fixes to Python tests to ensure that the following all pass: 1. __python2 -m pytest ./test ./tools__ # 30 tests pass 2. __python3 -m pytest ./test ./tools__ # 30 tests pass 3. __python2 -m unittest discover -s ./test/tools__ # 1 test passes 4. __python3 -m unittest discover -s ./test/tools__ # 1 test passes 5. __PYTHON=python2 make tooltest__ # 1 test passes 6. __PYTHON=python3 make tooltest__ # 1 test passes This is a subset of #30033 PR-URL: https://github.com/nodejs/node/pull/30340 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: David Carlier <devnexen@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8d4e6bbe64..d46b4a0c18 100644
--- a/Makefile
+++ b/Makefile
@@ -300,7 +300,7 @@ jstest: build-addons build-js-native-api-tests build-node-api-tests ## Runs addo
.PHONY: tooltest
tooltest:
- @$(PYTHON) test/tools/test-js2c.py
+ @$(PYTHON) -m unittest discover -s ./test/tools
.PHONY: coverage-run-js
coverage-run-js: