title: Google Test output report append
body: <p>I am using GTest in VC++ for unit testing. I have 5 test suits. I want to generate test report of results returned by Google test.</p>
  
  <p>I used ::testing::GTEST_FLAGS(output) = "xml:filename.xml" before InitGoogleTest method.</p>
  
  <p>Report generated but for only last test suit executed. every time it's overwrite test suit results.</p>
  
  <p>my code looks as per below:</p>
  
  <pre><code>::testing::GTEST_FLAGS(output) = "xml:filename.xml"
  
  switch(tessuite)
  {
  
  CASE TEST1:
    ::testing::GTEST_FILTER("TEST1*");
  
    RUN_ALL_TESTS();
  
  CASE TEST2:
  
    ::testing::GTEST_FILTER("TEST2*");
  
    RUN_ALL_TESTS();
  
  CASE TEST3:
  
    ::testing::GTEST_FILTER("TEST3*");
  
    RUN_ALL_TESTS();
  
  CASE TEST4:
  
    ::testing::GTEST_FILTER("TEST4*");
  
    RUN_ALL_TESTS();
  
  CASE TEST5:
  
    ::testing::GTEST_FILTER("TEST5*");
  
    RUN_ALL_TESTS(); 
  
  }
  </code></pre>
  
  <p>When I run the program filename.xml report generated for last test suit. not appending the results of all test-suits. How to append it.?</p>
  
  <p>I want to generate single report for all test-suits. anyone help me ?</p>