Lines Matching refs:cmdLine
148 static void mergeTestLogs (const CommandLine& cmdLine)
152 for (vector<string>::const_iterator filename = cmdLine.srcFilenames.begin(); filename != cmdLine.srcFilenames.end(); ++filename)
153 readLogFile(&batchResult, filename->c_str(), cmdLine.flags);
155 if (!cmdLine.dstFilename.empty())
156 xe::writeBatchResultToFile(batchResult, cmdLine.dstFilename.c_str());
168 static bool parseCommandLine (CommandLine& cmdLine, int argc, const char* const* argv)
175 cmdLine.srcFilenames.push_back(arg);
178 if (!cmdLine.dstFilename.empty())
180 cmdLine.dstFilename = arg+6;
183 cmdLine.flags &= ~FLAG_USE_LAST_INFO;
185 cmdLine.flags |= FLAG_USE_LAST_INFO;
190 if (cmdLine.srcFilenames.empty())
200 CommandLine cmdLine;
202 if (!parseCommandLine(cmdLine, argc, argv))
208 mergeTestLogs(cmdLine);