summaryrefslogtreecommitdiffstats
path: root/chrome/unit_tests.isolate
Commit message (Collapse)AuthorAgeFilesLines
* Remove Stale Isolate Entriescsharp@chromium.org2012-08-141-2/+0
| | | | | | | | | | | | Just a quick fix to get the linux swarm machine able to compile again. NOTRY=true BUG= Review URL: https://chromiumcodereview.appspot.com/10855131 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151466 0039d316-1c4b-4281-b951-d872f2087c98
* Renamed resource files to be more verbose, specifically:benrg@chromium.org2012-07-241-2/+2
| | | | | | | | | | | | | | | | ui_resources_standard.pak => ui_resources_100_percent.pak ui_resources_2x.pak => ui_resources_200_percent.pak ui_resources_standard.rc => ui_resources_100_percent.rc theme_resources_standard.pak => theme_resources_100_percent.pak theme_resources_2x.pak => theme_resources_200_percent.pak theme_resources_standard.rc => theme_resources_100_percent.rc BUG=120185 TEST=run chome,ash_shell confirm assets loaded Review URL: https://chromiumcodereview.appspot.com/10694170 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148232 0039d316-1c4b-4281-b951-d872f2087c98
* Switch net_unittests_run, unit_tests_run and browser_tests_run to use ↵maruel@chromium.org2012-07-201-0/+3
| | | | | | | | | | | | | | | | | | run_test_cases.py. This should improve performance and output density. It also adds auto-retry logic to the test run. The script has the side-effect of writting a json file along-side with statistics and output of each individual test case. TBR=cmp@chromium.org NOTRY=true BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10803056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147689 0039d316-1c4b-4281-b951-d872f2087c98
* Remove pulling down software_rendering_list.json through DEPSzmo@chromium.org2012-07-181-2/+0
| | | | | | | | | | | The file is already checked in to src/chrome/browser/resources BUG= TEST=tree Review URL: https://chromiumcodereview.appspot.com/10802020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147312 0039d316-1c4b-4281-b951-d872f2087c98
* unit_tests.isolate on OSX: Trace all the failing tests.maruel@chromium.org2012-07-181-39/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ran python isolate.py run -r ../../out/Release/unit_tests.results to generate the list of failing tests. Then autogenerated this CL with: python isolate.py trace -r ../../out/Release/unit_tests.results -- --gtest_filter=<test_case> python isolate.py merge -r ../../out/Release/unit_tests.results The list of test cases: ExtensionManifestTest.* ExtensionTest.BrowserActionSynthesizesCommand GpuBlacklistTest.CurrentBlacklistValidation MeasurementSystemUnitTest.parseNumberFormat PageCyclerTest.FailProvisionalLoads PageCyclerTest.KillBrowserAndAbort PermissionsTest.GetWarningMessages_AudioVideo SpellCheckTest.SpellCheckStrings_EN_US SpellCheckTest.SpellCheckText ValueStoreFrontendTest.GetExistingData TBR=thakis@chromium.org NOTRY=true BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10800009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147223 0039d316-1c4b-4281-b951-d872f2087c98
* unit_tests.isolate on Windows: Trace 1 test case I had forgot in r147062.maruel@chromium.org2012-07-171-0/+1
| | | | | | | | | | | | | | | | autogenerated with: python isolate.py trace -r ../../out/Release/unit_tests.results -- --gtest_filter=VectorCanvasTest.PathOrientation python isolate.py merge -r ../../out/Release/unit_tests.results TBR=thakis@chromium.org NOTRY=true BUG= TEST=unit_tests_swarm should now become green on Windows Review URL: https://chromiumcodereview.appspot.com/10781041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147068 0039d316-1c4b-4281-b951-d872f2087c98
* unit_tests.isolate on Windows: Trace 4 test cases.maruel@chromium.org2012-07-171-8/+11
| | | | | | | | | | | | | | | | | | | | | | autogenerated with: python isolate.py trace -r ../../out/Release/unit_tests.results -- --gtest_filter=<test_case> python isolate.py merge -r ../../out/Release/unit_tests.results For the following test case: VectorCanvasTest.Bitmaps VectorCanvasTest.ClippingIntersect MeasurementSystemUnitTest.parseNumberFormat SpellCheckTest.SpellCheckText TBR=thakis@chromium.org NOTRY=true BUG= TEST=They now pass when using command 'run' instead of 'trace'. Review URL: https://chromiumcodereview.appspot.com/10789045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147062 0039d316-1c4b-4281-b951-d872f2087c98
* unit_tests.isolate on linux: traced 2 test cases individually.maruel@chromium.org2012-07-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | autogenerated with: ./isolate.py trace -r ../../out/Release/unit_tests.results -- --gtest_filter=<test_case> ./isolate.py merge -r ../../out/Release/unit_tests.results With the following test cases: ExtensionManifestTest.OfflineEnabled GpuBlacklistTest.CurrentBlacklistValidation Verified that they failed locally in mode "run" and passed afterward. These are the 2 remaining test that were still failing in unit_tests_swarm on linux. In theory, this step should become green now. TBR=thakis@chromium.org NOTRY=true BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10700201 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146599 0039d316-1c4b-4281-b951-d872f2087c98
* unit_tests.isolate on linux: Run 4 test cases manually that are currently ↵maruel@chromium.org2012-07-131-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | failing on the swarm master: Partially autogenerated by running these 2 commands for each <test_case>: ./isolate.py trace -r ../../out/Release/unit_tests.results -- --gtest_filter=<test_case> ./isolate.py merge -r ../../out/Release/unit_tests.results Where <test_case> was one of: ExtensionManifestTest.OfflineEnabled ExtensionManifestTest.ScriptBadgeIconFallsBackToPuzzlePiece ExtensionTest.BrowserActionSynthesizesCommand ExtensionTest.GetAbsolutePathNoError Then manually moved the isolate_dependency_touched section to the global variable instead of the linux condition since these files are needed on all OSes but the isolate_dependency_touched tracing is only implemented on linux as of today. Automating this is being looked into. TBR=thakis@chromium.org NOTRY=true BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10735090 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146570 0039d316-1c4b-4281-b951-d872f2087c98
* unit_tests.isolate on Windows: add more dependencies.maruel@chromium.org2012-07-061-11/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | autogenerated with: python trace_test_cases.py -T unit -V PRODUCT_DIR ..\out\Release --root-dir=..\.. -c chrome out\Release\unit_tests.exe python merge_isolate.py ..\..\out\Release\unit_tests.exe.test_cases.isolate ..\..\chrome\unit_tests.isolate -o ..\..\chrome\unit_tests.isolate Where 'unit' contains: ExtensionManifestTest.SandboxedPages ExtensionManifestTest.ScriptBadgeBasic ExtensionTest.GetAbsolutePathNoError VectorCanvasTest.ClippingRect VectorCanvasTest.LineOrientation This is the list of currently failing tests on the windows builder on the swarm master. TBR=thakis@chromium.org NOTRY=true BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10693112 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145595 0039d316-1c4b-4281-b951-d872f2087c98
* unit_tests.isolate on Windows: add missing dependencies.maruel@chromium.org2012-07-061-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Autogenerated with: python trace_test_cases.py -T unit -V PRODUCT_DIR ..\out\Release --root-dir=..\.. -c chrome out\Release\unit_tests.exe python merge_isolate.py ..\..\out\Release\unit_tests.exe.test_cases.isolate ..\..\chrome\unit_tests.isolate -o ..\..\chrome\unit_tests.isolate The file 'unit' contained: ExtensionManifestTest.CommandManifestRejectJustShift ExtensionManifestTest.CommandManifestSimple ExtensionManifestTest.OfflineEnabled ExtensionManifestTest.ScriptBadgeIconFallsBackToPuzzlePiece ExtensionManifestTest.WebAccessibleResources ExtensionTest.BrowserActionSynthesizesCommand ExtensionTest.GetAbsolutePathNoError GpuBlacklistTest.CurrentBlacklistValidation VectorCanvasTest.ClippingCombined Eventually I'll need to add a way to isolate.py to trace a specific list of test cases but this facility doesn't exist yet, this is why I'm using the lower level tool for now. TBR=thakis@chromium.org NOTRY=true BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10697099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145592 0039d316-1c4b-4281-b951-d872f2087c98
* Update net_unittests.isolate, unit_tests.isolate and browser_tests.isolate.maruel@chromium.org2012-07-061-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only ran one two test case per unit test per OS, since it is just to get the new general dependencies for these tests. This was also a try to make sure the new merging algorithm works fine. net_unittests.isolate layout has changed since it is the first time it is autogenerated. This CL was completely autogenerated by running these commands on Windows, OSX and linux: --- python shard.py -i 0 -s 2000 isolate.py trace -r ../../out/Release/browser_tests.results python isolate.py merge -r ../../out/Release/browser_tests.results python shard.py -i 0 -s 2000 isolate.py trace -r ../../out/Release/unit_tests.results python isolate.py merge -r ../../out/Release/unit_tests.results python shard.py -i 0 -s 2000 isolate.py trace -r ../../out/Release/net_unittests.results python isolate.py merge -r ../../out/Release/net_unittests.results --- Note that the command run is now exactly the same, independent of the OS, for maximum copy-paste pleasure. TBR=thakis@chromium.org NOTRY=true BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10689118 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145563 0039d316-1c4b-4281-b951-d872f2087c98
* Block use of script_badge.default_title, to prevent spoofing.jyasskin@chromium.org2012-07-021-1/+1
| | | | | | | | | | | r144152 did the same for the API. BUG=132853 Review URL: https://chromiumcodereview.appspot.com/10704031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145175 0039d316-1c4b-4281-b951-d872f2087c98
* unit_tests.isolate on Windows: add 17 test cases.maruel@chromium.org2012-06-231-10/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | autogenerated with: python ..\..\testing\test_env.py trace_test_cases.py out\Release\unit_tests -V PRODUCT_DIR out\Release -c chrome --root-dir ..\.. -T foo.txt python merge_isolate.py ..\..\chrome\unit_tests.isolate ..\..\out\Release\unit_tests.test_cases.isolate -o ..\..\chrome\unit_tests.isolate Where foo.txt contained: VectorCanvasTest.ClippingClean ValueStoreFrontendTest.GetExistingData PageCyclerTest.StatsFile VectorCanvasTest.DiagonalLines SpellCheckTest.RequestSpellCheckWithMisspellings ExtensionManifestTest.ScriptBadgeExplicitIconsIgnored PageCyclerTest.MultipleIterations SpellCheckTest.SpellCheckSuggestions_EN_US VectorCanvasTest.Circles PageCyclerTest.FailProvisionalLoads PageCyclerTest.KillBrowserAndAbort ExtensionManifestTest.CommandManifestAllowNumbers ExtensionTest.GetAbsolutePathNoError VectorCanvasTest.ClippingPath ExtensionManifestTest.CommandManifestTooMany ExtensionPermissionsTest.GetWarningMessages_AudioVideo ExtensionManifestTest.PlatformApps TBR=thakis@chromium.org NOTRY=true BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10664008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143797 0039d316-1c4b-4281-b951-d872f2087c98
* Update unit_tests.isolate for OSX, similar to r143037.maruel@chromium.org2012-06-231-54/+1
| | | | | | | | | | | | | | | Only list <(PRODUCT_DIR)/Chromium Framework.framework/ instead of listing each individual file in the bundle. TBR=thakis@chromium.org NOTRY=true BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10664006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143779 0039d316-1c4b-4281-b951-d872f2087c98
* unit_tests.isolate on linux: add dependencies for 4 individual test cases.maruel@chromium.org2012-06-221-0/+6
| | | | | | | | | | | | | | | | | | | | | | autogenerated with: ../../testing/xvfb.py ../../out/Release ./trace_test_cases.py out/Release/unit_tests -V PRODUCT_DIR out/Release -c chrome --root-dir ../.. -T foo ./merge_isolate.py ../../chrome/unit_tests.isolate ../../out/Release/unit_tests.test_cases.isolate -o ../../chrome/unit_tests.isolate Where foo contains: ExtensionManifestTest.ScriptBadgeExplicitIconsIgnored ExtensionManifestTest.ScriptBadgeBasic ExtensionManifestTest.SandboxedPages ExtensionManifestTest.WebAccessibleResources TBR=thakis@chromium.org NOTRY=true BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10638019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143689 0039d316-1c4b-4281-b951-d872f2087c98
* Add new dependencies to unit_tests.isolate on linux.maruel@chromium.org2012-06-191-0/+3
| | | | | | | | | | | | TBR=thakis@chromium.org NOTRY=true BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10579029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143048 0039d316-1c4b-4281-b951-d872f2087c98
* Update unit_tests.isolate on linux.maruel@chromium.org2012-06-151-0/+45
| | | | | | | | | | | | | | | Should improve unit_tests_swarm success rate on linux, in theory it could become green. R=thakis@chromium.org NOTRY=true BUG=98636 TEST= Review URL: https://chromiumcodereview.appspot.com/10559009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142437 0039d316-1c4b-4281-b951-d872f2087c98
* Reapply 140220 - Add files to unit_tests.isolate and browser_tests.isolate.maruel@chromium.org2012-06-031-0/+1
| | | | | | | | | | | | | | Move more files to the untracked section, since they aren't present in all the time. NOTRY=true TBR=thakis@chromium.org BUG=98636 TEST= Review URL: https://chromiumcodereview.appspot.com/10473017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140232 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 140220 - Add files to unit_tests.isolate and browser_tests.isolate.rniwa@chromium.org2012-06-031-1/+0
| | | | | | | | | | | | | | R=thakis@chromium.org BUG=98636 TEST= Review URL: https://chromiumcodereview.appspot.com/10505006 TBR=maruel@chromium.org Review URL: https://chromiumcodereview.appspot.com/10497011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140221 0039d316-1c4b-4281-b951-d872f2087c98
* Add files to unit_tests.isolate and browser_tests.isolate.maruel@chromium.org2012-06-031-0/+1
| | | | | | | | | | | R=thakis@chromium.org BUG=98636 TEST= Review URL: https://chromiumcodereview.appspot.com/10505006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140220 0039d316-1c4b-4281-b951-d872f2087c98
* Remove '<(PRODUCT_DIR)/extensions/' from the dependencies, it doesn't exist ↵maruel@chromium.org2012-05-181-1/+0
| | | | | | | | | | | | anymore. R=thakis@chromium.org BUG=98636 TEST=ninja unit_tests_run with test_isolate_mode!=noop works again Review URL: https://chromiumcodereview.appspot.com/10409028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137912 0039d316-1c4b-4281-b951-d872f2087c98
* Remove a truck load of .h files from windows dependenciesmaruel@chromium.org2012-05-071-306/+0
| | | | | | | | | | | | | Likely a issue with tracing or some directory walking code in the tests. R=thakis@chromium.org BUG=126461 TEST=Shouldn't affect unit_tests_run on windows Review URL: http://codereview.chromium.org/10384034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135657 0039d316-1c4b-4281-b951-d872f2087c98
* Remove OwnershipStatusChecker and move the functionality into OwnershipService.pastarmovj@chromium.org2012-05-031-1/+0
| | | | | | | | | BUG=122207 TEST=browser_tests suite should not DCHECK. Review URL: http://codereview.chromium.org/10177009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135119 0039d316-1c4b-4281-b951-d872f2087c98
* Add unit_tests_run that (mostly) works for all of linux, OSX and Windows.maruel@chromium.org2012-05-011-0/+1077
| | | | | | | | | | | | | | | | | | | | | | Revert r134670 "Revert 134667 "Revert r134508 "Revert 134507, broke the main builders:"" This CL's going to get in at whatever cost. I moved more optional files to be untracked. The dependencies were retrieved with trace_inputs.py and merged with merge_isolate.py. Manual edits: - Added <(EXECUTABLE_SUFFIX) to two executables: unit_tests and xdisplaycheck. - Removed testserver.log and unit_tests.log. - Added copyright. - Removed *.db-journal files. TBR=rogerta@chromium.org BUG=98636 TEST= Review URL: https://chromiumcodereview.appspot.com/10263018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134689 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 134667 - Add unit_tests_run that (mostly) works for all of linux, OSX ↵estade@chromium.org2012-05-011-1077/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and Windows. it broke the linux x64 bulder. > Revert r134607 "Revert r134508 "Revert 134507, broke the main builders:"" > Overall, this reapplies r134507. > The dependencies were retrieved with trace_inputs.py and merged with merge_isolate.py. > Manual edits: > - Added <(EXECUTABLE_SUFFIX) to two executables: unit_tests and xdisplaycheck. > - Removed testserver.log and unit_tests.log. > - Added copyright. > - Removed *.db-journal files. > TBR=rogerta@chromium.org > BUG=98636 > TEST= > Review URL: http://codereview.chromium.org/10269019 TBR=maruel@chromium.org Review URL: https://chromiumcodereview.appspot.com/10264027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134670 0039d316-1c4b-4281-b951-d872f2087c98
* Add unit_tests_run that (mostly) works for all of linux, OSX and Windows.maruel@chromium.org2012-05-011-0/+1077
| | | | | | | | | | | | | | | | | | | | | | | Revert r134607 "Revert r134508 "Revert 134507, broke the main builders:"" Overall, this reapplies r134507. The dependencies were retrieved with trace_inputs.py and merged with merge_isolate.py. Manual edits: - Added <(EXECUTABLE_SUFFIX) to two executables: unit_tests and xdisplaycheck. - Removed testserver.log and unit_tests.log. - Added copyright. - Removed *.db-journal files. TBR=rogerta@chromium.org BUG=98636 TEST= Review URL: http://codereview.chromium.org/10269019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134667 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 134604 - Add unit_tests_run that (mostly) works for all of linux, OSX ↵kkania@chromium.org2012-04-301-1077/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and Windows. Reverted because of build failures. E.g.: make: *** No rule to make target `chrome/test/data/osdd/bogus.xml', needed by `out/Release/unit_tests.results' Revert r134508 "Revert 134507, broke the main builders:" This reapplies r134507. The dependencies were retrieved with trace_inputs.py and merged with merge_isolate.py. Manual edits: - Added <(EXECUTABLE_SUFFIX) to two executables: unit_tests and xdisplaycheck. - Removed testserver.log and unit_tests.log. - Added copyright. - Removed *.db-journal files. R=rogerta@chromium.org BUG=98636 TEST= Review URL: http://codereview.chromium.org/10271012 TBR=maruel@chromium.org Review URL: https://chromiumcodereview.appspot.com/10274016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134607 0039d316-1c4b-4281-b951-d872f2087c98
* Add unit_tests_run that (mostly) works for all of linux, OSX and Windows.maruel@chromium.org2012-04-301-0/+1077
| | | | | | | | | | | | | | | | | | | | | | Revert r134508 "Revert 134507, broke the main builders:" This reapplies r134507. The dependencies were retrieved with trace_inputs.py and merged with merge_isolate.py. Manual edits: - Added <(EXECUTABLE_SUFFIX) to two executables: unit_tests and xdisplaycheck. - Removed testserver.log and unit_tests.log. - Added copyright. - Removed *.db-journal files. R=rogerta@chromium.org BUG=98636 TEST= Review URL: http://codereview.chromium.org/10271012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134604 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 134507, broke the main builders:brettw@chromium.org2012-04-301-1077/+0
| | | | | | | | | | | | | | | | | | | | | | | | | http://build.chromium.org/p/chromium/builders/Linux%20x64/builds/28236/steps/compile/logs/stdio - Add unit_tests_run that (mostly) works for all of linux, OSX and Windows. The dependencies were retrieved with trace_inputs.py and merged with merge_isolate.py. Manual edits: - Added <(EXECUTABLE_SUFFIX) to two executables: unit_tests and xdisplaycheck. - Removed testserver.log and unit_tests.log. - Added copyright. - Removed *.db-journal files. R=rogerta@chromium.org BUG=98636 TEST= Review URL: http://codereview.chromium.org/9693023 TBR=maruel@chromium.org Review URL: https://chromiumcodereview.appspot.com/10270005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134508 0039d316-1c4b-4281-b951-d872f2087c98
* Add unit_tests_run that (mostly) works for all of linux, OSX and Windows.maruel@chromium.org2012-04-301-0/+1077
The dependencies were retrieved with trace_inputs.py and merged with merge_isolate.py. Manual edits: - Added <(EXECUTABLE_SUFFIX) to two executables: unit_tests and xdisplaycheck. - Removed testserver.log and unit_tests.log. - Added copyright. - Removed *.db-journal files. R=rogerta@chromium.org BUG=98636 TEST= Review URL: http://codereview.chromium.org/9693023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134507 0039d316-1c4b-4281-b951-d872f2087c98