summaryrefslogtreecommitdiffstats
path: root/chrome/test/test_launcher_utils.cc
Commit message (Collapse)AuthorAgeFilesLines
* Move more files from chrome/test to chrome/test/base, part #3phajdan.jr@chromium.org2011-07-291-110/+0
| | | | | | | BUG=90905 Review URL: http://codereview.chromium.org/7541001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94780 0039d316-1c4b-4281-b951-d872f2087c98
* Add flag to use mock keychain for testing on mac.braffert@chromium.org2011-07-261-0/+7
| | | | | | | | | | BUG=89808 TEST= Review URL: http://codereview.chromium.org/7482016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94019 0039d316-1c4b-4281-b951-d872f2087c98
* GTTF: Move --test-terminate-timeout logic to base/test/test_timeoutsphajdan.jr@chromium.org2011-06-101-16/+0
| | | | | | | | | | | | | | | | | This is the first step towards removing --test-terminate-timeout completely. In this CL --test-terminate-timeout becomes a synonym for --ui-test-action-max-timeout. This makes it possible to switch callers to --ui-test-action-max-timeout and remove --test-terminate-timeout. Removing number of different kinds of timeouts makes it easier to pick one. BUG=none Review URL: http://codereview.chromium.org/7111035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88653 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 88111 - GTTF: Move --test-terminate-timeout logic to ↵rsimha@chromium.org2011-06-081-0/+16
| | | | | | | | | | | | | | | | | | | | | | | base/test/test_timeouts Reason for revert: This patch causes --test-terminate-timeout to be disregarded by out_of_proc_test_runner.cc, resulting in redness on the sync buildbots. This is the first step towards removing --test-terminate-timeout completely. In this CL --test-terminate-timeout becomes a synonym for --ui-test-action-max-timeout. This makes it possible to switch callers to --ui-test-action-max-timeout and remove --test-terminate-timeout. Removing number of different kinds of timeouts makes it easier to pick one. BUG=none Review URL: http://codereview.chromium.org/7111035 TBR=phajdan.jr@chromium.org Review URL: http://codereview.chromium.org/7104059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88352 0039d316-1c4b-4281-b951-d872f2087c98
* GTTF: Move --test-terminate-timeout logic to base/test/test_timeoutsphajdan.jr@chromium.org2011-06-071-16/+0
| | | | | | | | | | | | | | | | This is the first step towards removing --test-terminate-timeout completely. In this CL --test-terminate-timeout becomes a synonym for --ui-test-action-max-timeout. This makes it possible to switch callers to --ui-test-action-max-timeout and remove --test-terminate-timeout. Removing number of different kinds of timeouts makes it easier to pick one. BUG=none Review URL: http://codereview.chromium.org/7111035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88111 0039d316-1c4b-4281-b951-d872f2087c98
* More POSIX support for Chromium, consisting mostly of broadening ifdefs. Thistony@chromium.org2011-06-021-1/+1
| | | | | | | | | | | | | | patch cuts across modules, as there's only a handful necessary for each, with the most in chrome/test/. ALSA is enabled on FreeBSD and Solaris, as libasound has been ported to those two platforms, and I moved resolv.h in host_resolver_proc.cc, because it depends on headers from sys_addrinfo.h on FreeBSD. Patch by ruben (chromium@hybridsource.org) Review URL: http://codereview.chromium.org/6976055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87641 0039d316-1c4b-4281-b951-d872f2087c98
* Use basic password store on Linux for browser tests.asanka@chromium.org2011-05-121-0/+9
| | | | | | | | | | | Gnome Keyring may pop up additional UI during browser tests that may cause tests to fail or time out. BUG=none TEST=browser_tests --gtest_filter=LoginPromptBrowserTest.* Review URL: http://codereview.chromium.org/6995020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85163 0039d316-1c4b-4281-b951-d872f2087c98
* Move some files from base to base/memory.levin@chromium.org2011-03-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | raw_scoped_refptr_mismatch_checker.h ref_counted.cc ref_counted.h ref_counted_memory.cc ref_counted_memory.h ref_counted_unittest.cc scoped_callback_factory.h scoped_comptr_win.h scoped_handle.h scoped_native_library.cc scoped_native_library.h scoped_native_library_unittest.cc scoped_nsobject.h scoped_open_process.h scoped_ptr.h scoped_ptr_unittest.cc scoped_temp_dir.cc scoped_temp_dir.h scoped_temp_dir_unittest.cc scoped_vector.h singleton.h singleton_objc.h singleton_unittest.cc linked_ptr.h linked_ptr_unittest.cc weak_ptr.cc weak_ptr.h weak_ptr_unittest.cc BUG=None TEST=Compile Review URL: http://codereview.chromium.org/6714032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79524 0039d316-1c4b-4281-b951-d872f2087c98
* Move app/app_switches to ui/gfx/gl/gl_switches.backer@chromium.org2011-03-211-2/+2
| | | | | | | | | | | | | This is in preparation of moving app/gfx/gl to ui/gfx/gl. All of the switches in app_switches are GL related. Removed many includes that were unnecessary. BUG=none TEST=trybots Review URL: http://codereview.chromium.org/6685089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78875 0039d316-1c4b-4281-b951-d872f2087c98
* GTTF: Prefetch the browser with a longer timeout before running browser tests.phajdan.jr@chromium.org2011-02-111-0/+39
| | | | | | | | | | | | Also remove hacky code to increase timeout for specific tests. Instead, allow to increase test termination timeout via SLOW_ prefix (should be used as last resort). BUG=none TEST=none Review URL: http://codereview.chromium.org/6410059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74649 0039d316-1c4b-4281-b951-d872f2087c98
* Checked in missing change.apatrick@chromium.org2010-11-151-1/+1
| | | | | | | | TEST=none BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66178 0039d316-1c4b-4281-b951-d872f2087c98
* Removed --use-gl=osmesa as default for ui and browser tests.apatrick@chromium.org2010-11-151-0/+12
| | | | | | | | | | | | | Some tests require regular GL and appear not to be flaky. This command line switch is now only passed to tests that are flaky on bots using regular GL. TEST=run affected tests locally, try BUG=55477, 62602 Review URL: http://codereview.chromium.org/4784001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66177 0039d316-1c4b-4281-b951-d872f2087c98
* Disable safebrowsing for UI tests and browser tests.lzheng@chromium.org2010-11-121-0/+3
| | | | | | | | | BUG=60598 TEST=ui tests and browser tests stay green. Review URL: http://codereview.chromium.org/4731004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65958 0039d316-1c4b-4281-b951-d872f2087c98
* Moved --use-gl=osmesa switch out of test_launcher_utils.apatrick@chromium.org2010-11-101-10/+0
| | | | | | | | | | | | | It was affecting tests other than ui_tests and browser_tests, which potentially need to use regular GL. For example, plugins expect to be able to use regular GL with core animation. In the future, we should be able to make more tests use osmesa by allowing a regular GL surface to be read back into an OSMesa surface in AcceleratedSurface on Mac. TEST=ui_tests, browser_tests BUG=62602 Review URL: http://codereview.chromium.org/4761001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65604 0039d316-1c4b-4281-b951-d872f2087c98
* Made OSMesa work on Mac for WebGL.apatrick@chromium.org2010-11-081-3/+4
| | | | | | | | | | | | | | | This required that GPU initialization not fail if GPU info cannot be collected. The accelerated compositor still needs some work but this will let us run some WebGL browser and ui smoke tests. Also added --disable-accelerated-compositing for browser and ui tests so they will not attempt to use it. TEST=try, run ui test locally BUG=61037, 58343 Review URL: http://codereview.chromium.org/4716002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65447 0039d316-1c4b-4281-b951-d872f2087c98
* Reenabled GPUTest.UITestLaunchedWithOSMesa on linux and windows.apatrick@chromium.org2010-11-011-1/+1
| | | | | | | | | | | I think r64288 will make it work. TEST=try BUG=none Review URL: http://codereview.chromium.org/4201005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64674 0039d316-1c4b-4281-b951-d872f2087c98
* Temporarily disabling test GPUTest.UITestLaunchedWithOSMesa on linux.apatrick@chromium.org2010-10-271-1/+1
| | | | | | | | | | | | | Test was new in r64122 and failed. http://build.chromium.org/p/chromium/builders/Linux%20Tests%20x64/builds/761/steps/ui_tests/logs/stdio TEST=none BUG=none TBR=kbr@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64138 0039d316-1c4b-4281-b951-d872f2087c98
* ui_tests run with --use-gl=osmesa so they use the OSMesa software renderer ↵apatrick@chromium.org2010-10-271-0/+9
| | | | | | | | | | | | | for GL. This to ensure that ui_tests run consistently regardless of the GPU capabilities, or absense, of the box they run on. TEST=try BUG=none Review URL: http://codereview.chromium.org/4138003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64122 0039d316-1c4b-4281-b951-d872f2087c98
* Remove flaky from a test that has been de-flaked in several ways (see bug ↵levin@chromium.org2010-10-221-1/+1
| | | | | | | | | | | | | | | 57405). Update bug numbers in two places, so that each has a distinct bug with owners that are involved in the area and each of those bug depends on the underlying bug. TEST=SearchProviderTest.TestIsSearchProviderInstalled BUG=57405,60043,60035 Review URL: http://codereview.chromium.org/3985002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63453 0039d316-1c4b-4281-b951-d872f2087c98
* Remove flaky from external extension uitest.levin@chromium.org2010-10-071-2/+3
| | | | | | | | | | | | | | | | | This was disabled when all ui tests were flaky due to NavigateToURL issues. Also, due to the same underlying issue, it is possible that this test had issues so I removed the parallism until the underlying bug 57491 is fixed. Also added a bug number to the other place where a hack was added to work around bug 57491. BUG=57405,57491 TEST=ui_tests --gtest_filter=TestIsSearchProviderInstalled Review URL: http://codereview.chromium.org/3599019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61838 0039d316-1c4b-4281-b951-d872f2087c98
* Extract common browser command-line flags used by tests.phajdan.jr@chromium.org2010-09-301-0/+21
| | | | | | | | | | | | This will help avoiding adding a required flag to ui_tests but not browser_tests and vice versa. BUG=none TEST=none Review URL: http://codereview.chromium.org/3565003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61037 0039d316-1c4b-4281-b951-d872f2087c98
* Use a scoped temp dir in browser_tests instead of deleting the default user ↵rohitrao@chromium.org2010-09-231-0/+34
data dir. BUG=None TEST=Less flake, I hope. Review URL: http://codereview.chromium.org/3443021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60335 0039d316-1c4b-4281-b951-d872f2087c98