MCPcopy Create free account
hub / github.com/nodejs/node / test_make

Method test_make

tools/gyp/test/integration_test.py:59–73  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

57 assert_file(self, "out/Default/obj/test.ninja", "ninja/test.ninja")
58
59 def test_make(self) -> None:
60 rc = gyp.main(
61 [
62 "-f",
63 "make",
64 "--depth",
65 fixture_dir,
66 "--generator-output",
67 "out",
68 gyp_file,
69 ]
70 )
71 assert rc == 0
72
73 assert_file(self, "out/test.target.mk", "make/test.target.mk")
74
75 def test_cmake(self) -> None:
76 rc = gyp.main(["-f", "cmake", "--depth", fixture_dir, gyp_file])

Callers

nothing calls this directly

Calls 2

assert_fileFunction · 0.85
mainMethod · 0.45

Tested by

no test coverage detected