Thanks for your help. But I still need some help in running a test case

For this test case defined in unload_test.cc:
TEST_F(UnloadTest, CrossSiteInfiniteBeforeUnloadSync) {...}

i have tried:
 ./out/Debug/automated_ui_tests --gtest_filter='CrossSiteInfiniteUnloadSync'
./out/Debug/base_unittests --gtest_filter='CrossSiteInfiniteUnloadSync'

But no test is being run in both cases.

And i have tried making

$ make out/Debug/unload_uitest
make: *** No rule to make target `out/Debug/unload_uitest'.  Stop.

but there is no target for that.



On Sat, Dec 26, 2009 at 5:29 PM, Robert Sesek <[email protected]> wrote:
> test_binary was just an example. The target you want is named
> tab_switching_test.
>
> rsesek / @chromium.org
>
> On Sat, Dec 26, 2009 at 4:29 PM, n179911 <[email protected]> wrote:
>>
>> Thank you. I tried to compile 'test_binary', but there is no such
>> executable.
>> $ make out/Debug/test_binary
>> make: *** No rule to make target `out/Debug/test_binary'.  Stop.
>> $ ./out/Debug/test_binary
>> bash: ./out/Debug/test_binary: No such file or directory
>> And I tried to run 'automation_proxy_uitest' and that did not work either.
>> $ make out/Debug/automation_proxy_uitest
>> make: *** No rule to make target `out/Debug/automation_proxy_uitest'.
>>  Stop.
>>
>>
>> On Fri, Dec 25, 2009 at 2:15 PM, Robert Sesek <[email protected]> wrote:
>>>
>>> The --gtest_filter switch should do what you want: ./test_binary
>>> --gtest_filter='TestClassName.*'. You can replace the ".*" with a specific
>>> test case name. The quotes are necessary if your shell expands the asterisk.
>>> Find out more with the --help flag. Also, I don't think TabSwitchingUITest
>>> is in base_unittests but rather its own binary (Debug/tab_switching_test),
>>> though I'm not sure about that.
>>> rsesek / @chromium.org
>>>
>>> On Fri, Dec 25, 2009 at 2:02 PM, n179911 <[email protected]> wrote:
>>>>
>>>> Hi,
>>>> Here is how to compile and run all tests on linux:
>>>> $make ./out/Debug/base_unittests
>>>> $./out/Debug/base_unittests
>>>> Can you please tell me how can I run 1 specific test, namely
>>>> TabSwitchingUITest?
>>>> Thank you.
>>>>
>>>>
>>>> --
>>>> Chromium Developers mailing list: [email protected]
>>>> View archives, change email options, or unsubscribe:
>>>> http://groups.google.com/group/chromium-dev
>>
>
>
-- 
Chromium Developers mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev

Reply via email to