mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
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:
2
Makefile
2
Makefile
@@ -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:
|
||||
|
||||
@@ -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()
|
||||
Reference in New Issue
Block a user