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

Function main

deps/v8/tools/dev/gm.py:823–841  ·  view source on GitHub ↗
(argv)

Source from the content-addressed store, hash-verified

821
822
823def main(argv):
824 parser = ArgumentParser()
825 configs = parser.parse_arguments(argv[1:])
826 return_code = 0
827 # If we have Reclient with the Google configuration, check for current
828 # certificate.
829 if (RECLIENT_MODE == Reclient.GOOGLE and not detect_reclient_cert()):
830 print("# gcert")
831 subprocess.check_call("gcert", shell=True)
832 for c in configs:
833 return_code += configs[c].build()
834 if return_code == 0:
835 for c in configs:
836 return_code += configs[c].run_tests()
837 if return_code == 0:
838 _notify('Done!', 'V8 compilation finished successfully.')
839 else:
840 _notify('Error!', 'V8 compilation finished with errors.')
841 return return_code
842
843if __name__ == "__main__":
844 sys.exit(main(sys.argv))

Callers 1

gm.pyFile · 0.70

Calls 7

parse_argumentsMethod · 0.95
ArgumentParserClass · 0.85
detect_reclient_certFunction · 0.85
_notifyFunction · 0.85
printFunction · 0.50
buildMethod · 0.45
run_testsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…