MCPcopy Index your code
hub / github.com/nodejs/node / test_duplicate_isolate_maps

Method test_duplicate_isolate_maps

deps/v8/tools/mb/mb_test.py:534–562  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

532 mbw.files)
533
534 def test_duplicate_isolate_maps(self):
535 files = {
536 '/tmp/swarming_targets':
537 'cc_perftests\n',
538 '/fake_src/testing/buildbot/gn_isolate_map.pyl':
539 ("{'cc_perftests': {"
540 " 'label': '//cc:cc_perftests',"
541 " 'type': 'raw',"
542 " 'args': [],"
543 "}}\n"),
544 '/fake_src/testing/buildbot/gn_isolate_map2.pyl':
545 ("{'cc_perftests': {"
546 " 'label': '//cc:cc_perftests',"
547 " 'type': 'raw',"
548 " 'args': [],"
549 "}}\n"),
550 'c:\\fake_src\out\Default\cc_perftests.exe.runtime_deps':
551 ("cc_perftests\n"),
552 }
553 mbw = self.fake_mbw(files=files, win32=True)
554 # Check that passing duplicate targets into mb fails.
555 self.check([
556 'gen', '-c', 'debug_remoteexec', '--swarming-targets-file',
557 '/tmp/swarming_targets', '--isolate-map-file',
558 '/fake_src/testing/buildbot/gn_isolate_map.pyl', '--isolate-map-file',
559 '/fake_src/testing/buildbot/gn_isolate_map2.pyl', '//out/Default'
560 ],
561 mbw=mbw,
562 ret=1)
563
564 def test_isolate(self):
565 files = {

Callers

nothing calls this directly

Calls 2

fake_mbwMethod · 0.95
checkMethod · 0.95

Tested by

no test coverage detected