Reordering is awkward (basically, edit the source file to reorder or disable
some), but you can run only the CommandLine tests by appending this to your
(hah) command line:

--gtest_filter=CommandLine.*

In VS, go to the project properties for base_unittests, pick Debugging, and
put that in as the debugging command line.

For full details about the --gtest_filter switch to include or exclude
tests, see http://code.google.com/p/googletest/wiki/GoogleTestAdvancedGuide

- Pam

On Fri, Jun 5, 2009 at 12:38 PM, Book'em Dano <[email protected]> wrote:

>
> As an example, let's say I'm making some changes to CommandLine. As
> part of these changes, I'm wanting to run base_unittests. However,
> it's super annoying that I have to wait a few minutes while the other
> unit tests within this suite are run before the CommandLine unit test
> is hit. Is there a way to change this order _temporarily_ without
> excluding them from the project via Visual Studio?
>
> -Daniel
> >
>

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to