xinguai / googletest

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

Allow running of DISABLED_ tests #85

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When a test is marked as disabled (by pre-pending name with "DISABLED_") it 
is not run. (Good, this is by design).

It would be nice to have a flag to override this behavior, and let the 
disabled tests run anyway.

The use-case is that sometimes you are debugging a disabled test (or simply 
investigating why a test is disabled), and it is inconvenient to have to 
recompile just to run it.

Maybe the flag:

--run-disabled

Original issue reported on code.google.com by eroman@chromium.org on 12 Dec 2008 at 11:40

GoogleCodeExporter commented 9 years ago
Uploaded patch:
http://codereview.appspot.com/11043

Original comment by eroman@chromium.org on 13 Dec 2008 at 12:32

GoogleCodeExporter commented 9 years ago

Original comment by shiq...@gmail.com on 15 Dec 2008 at 7:31

GoogleCodeExporter commented 9 years ago

Original comment by zhanyong...@gmail.com on 15 Jan 2009 at 11:21