Guest User

Untitled

a guest
Jan 19th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. int main(int argc, char **argv) {
  2. char *option[] = { "test.exe", //it doesn't have meaning, just dummy
  3. "--gtest_output=xml:filename" };
  4. int argc1 = 2;
  5. ::testing::InitGoogleTest(&argc1, option);
  6. return RUN_ALL_TESTS();
  7. }
  8.  
  9. ::testing::GTEST_FLAG(output) = "xml:filename";
Add Comment
Please, Sign In to add comment