mkmojo / googletest

Automatically exported from code.google.com/p/googletest
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Gtests run under Visual Studio but not under Team Build #203

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build a google test based test suite under MS Team Build (not Visual
Studio) 

What is the expected output? What do you see instead?
Expected: same output as run under VS2008
Actual: gtests can't run because Team Build is a windows service without
any windowing environment, so it can't instantiate the command window that
gtest sends its outputs to.

What version of the product are you using? On what operating system? G130
on VS2008 under XP Sp3

Please provide any additional information below.
What would be the best way to make a gtest test suite (i.e. a gtest.lib)
such that running gtest_main would not call for the opening of a command
window.  For example how might one eliminate ALL stdout and stderr from
gtest to the console and, say, replace it with output to a named file.?

Thanks, Peter Schwenn   peter@schwenn.com

Original issue reported on code.google.com by pschw...@gmail.com on 5 Oct 2009 at 6:08