Lines Matching refs:argv
51 _flag_map = {'gtest_source_dir': os.path.dirname(sys.argv[0]),
52 'gtest_build_dir': os.path.dirname(sys.argv[0])}
56 def _ParseAndStripGTestFlags(argv):
57 """Parses and strips Google Test flags from argv. This is idempotent."""
71 while i < len(argv):
73 if argv[i].startswith(prefix):
74 _flag_map[flag] = argv[i][len(prefix):]
75 del argv[i]
79 # and removed it from argv.
89 _ParseAndStripGTestFlags(sys.argv)
140 command: A command to run, in the form of sys.argv.
193 _ParseAndStripGTestFlags(sys.argv)