Revert "test: test configure ninja"

This reverts commit 85dd9e8333.

`make test` should never change the current set of `configure`
flags.

Refs: https://github.com/nodejs/node/pull/30033

PR-URL: https://github.com/nodejs/node/pull/30295
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
This commit is contained in:
Anna Henningsen
2019-11-06 12:35:56 +01:00
parent d26a74dca0
commit 3698031753
3 changed files with 1 additions and 30 deletions

View File

@@ -300,7 +300,7 @@ jstest: build-addons build-js-native-api-tests build-node-api-tests ## Runs addo
.PHONY: tooltest
tooltest:
@$(PYTHON) -m unittest discover -s ./test/tools
@$(PYTHON) test/tools/test-js2c.py
.PHONY: coverage-run-js
coverage-run-js:

View File

@@ -1,29 +0,0 @@
import sys
import os
import unittest
import subprocess
class ConfigureTests(unittest.TestCase):
def setUp(self):
self.working_dir = os.path.abspath(
os.path.join(
os.path.dirname(__file__),
'..', '..'
)
)
def test_ninja(self):
subprocess.check_call(
'./configure --ninja',
cwd=self.working_dir,
shell=True,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE
)
if (__name__ == '__main__' and
sys.platform in ['linux', 'linux2', 'darwin', 'cygwin']):
unittest.main()