summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Added sorting functionality to HTML tables on coverage dashboard.pshenoy@chromium.org2012-07-113-16/+538
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10681003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146014 0039d316-1c4b-4281-b951-d872f2087c98
* Switch the NSS thread from being a base::Thread to a ↵rsleevi@chromium.org2012-07-101-7/+0
| | | | | | | | | | | | base::SequencedWorkerPool of 1 BUG=135435 TEST=existing + tsan bots Review URL: https://chromiumcodereview.appspot.com/10749009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145977 0039d316-1c4b-4281-b951-d872f2087c98
* Fix race in HttpNetworkTransactionSpdy2Test.BasicAuthSpdyProxy andmmenke@chromium.org2012-07-102-6/+0
| | | | | | | | | | | | | | | re-enable it on TSAN/Dr. Memory. Apply same fix to the corresponding Spdy 3 test. Issue was that the tests relied on never reading MockReadData could not be safely read not being read. The memory bots slow things down enough that it was being read, and causing a crash. Fixed the bad data, and corrected the ordering of events. BUG=130874 Review URL: https://chromiumcodereview.appspot.com/10704042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145959 0039d316-1c4b-4281-b951-d872f2087c98
* Make merging of shard test results handle test suites that are split across ↵mihaip@chromium.org2012-07-105-10/+129
| | | | | | | | | | | shards better. BUG=136412 R=nsylvain@chromium.org Review URL: https://chromiumcodereview.appspot.com/10749018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145952 0039d316-1c4b-4281-b951-d872f2087c98
* Extensions Docs Server: Support APIs with propertiescduvall@chromium.org2012-07-091-3/+3
| | | | | | | | | | | Added a template for API properties. I also added templates for the privacy API, which has properties. BUG=131095 Review URL: https://chromiumcodereview.appspot.com/10689117 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145786 0039d316-1c4b-4281-b951-d872f2087c98
* Expand Mac valgrind suppression. TBR=hbonojam@chromium.org2012-07-091-0/+10
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145723 0039d316-1c4b-4281-b951-d872f2087c98
* Fix suppression for Mac valgrind. TBR=hbonojam@chromium.org2012-07-091-0/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145695 0039d316-1c4b-4281-b951-d872f2087c98
* Don't run WebRTCAudioDeviceTest under heapcheck. There are a bunch of leaks ↵jam@chromium.org2012-07-091-0/+1
| | | | | | | | | related to the fact that the SyncChannel isn't closed, which regressed and was fixed in r145676. I believe this test is the only one affected because it spins up a real RenderThreadImpl. TBR=tommi Review URL: https://chromiumcodereview.appspot.com/10760002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145691 0039d316-1c4b-4281-b951-d872f2087c98
* Fix heapcheck suppression from last checkin. TBR=hbonojam@chromium.org2012-07-091-0/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145686 0039d316-1c4b-4281-b951-d872f2087c98
* Add suppression for Mac valgrind after r145676.jam@chromium.org2012-07-091-1/+10
| | | | | | | | BUG=65940 TBR=hbono Review URL: https://chromiumcodereview.appspot.com/10753002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145683 0039d316-1c4b-4281-b951-d872f2087c98
* Add heapcheck suppression after r145676.jam@chromium.org2012-07-092-1/+16
| | | | | | | | BUG=65940 TBR=hbono Review URL: https://chromiumcodereview.appspot.com/10747002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145681 0039d316-1c4b-4281-b951-d872f2087c98
* Readd suppression from r68831 after reverting that change in r145676.jam@chromium.org2012-07-091-0/+21
| | | | | | | | BUG=65940 TBR=hbono Review URL: https://chromiumcodereview.appspot.com/10745002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145679 0039d316-1c4b-4281-b951-d872f2087c98
* Exclude IPCSyncChannelTest.RestrictedDispatch on Valgrind ChromeOS.bruening@google.com2012-07-091-0/+1
| | | | | | | | | | BUG=136351 TBR=hbono@google.com TEST= Review URL: https://chromiumcodereview.appspot.com/10738002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145674 0039d316-1c4b-4281-b951-d872f2087c98
* Exclude IPCSyncChannelTest.SendAfterClose on Valgrind ChromeOS.bruening@google.com2012-07-091-0/+4
| | | | | | | | | | BUG=136351 TBR=hbono@google.com TEST= Review URL: https://chromiumcodereview.appspot.com/10737002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145673 0039d316-1c4b-4281-b951-d872f2087c98
* Update perf_expectations.json for nacl_helper_bootstrap (x86-32)mseaborn@chromium.org2012-07-091-1/+1
| | | | | | | | | | | | | | This change addresses a build break from r145661. This is the same as r145663, but for the 32-bit version of nacl_helper_bootstrap which I missed before. BUG=http://code.google.com/p/nativeclient/issues/detail?id=2844 TEST=none Review URL: https://chromiumcodereview.appspot.com/10690107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145664 0039d316-1c4b-4281-b951-d872f2087c98
* Update perf_expectations.json for nacl_helper_bootstrapmseaborn@chromium.org2012-07-091-1/+1
| | | | | | | | | | | | | | | | This change addresses a build break from r145661. nacl_helper_bootstrap is tiny, so small changes to it can easily pass the regression threshold, which happened in r145661, which exceeded the previous threshold by 27 bytes! This was the result of http://src.chromium.org/viewvc/native_client?view=rev&revision=9085. BUG=http://code.google.com/p/nativeclient/issues/detail?id=2844 TEST=none Review URL: https://chromiumcodereview.appspot.com/10735025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145663 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor common code between Results.File and Result.Directory into ↵maruel@chromium.org2012-07-061-37/+55
| | | | | | | | | | | | | | | | | | | Results._TouchedObject. This is because Results.File will be gaining new properties that can not apply to a Results.Directory so the class hierarchy didn't fit anymore. Reorder members in alphabetical order. TBR=cmp@chromium.org NOTRY=true BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10690100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145612 0039d316-1c4b-4281-b951-d872f2087c98
* Remove default argument to Results.File() to ease refactoring.maruel@chromium.org2012-07-061-2/+2
| | | | | | | | | | | | | | | | I may need to add support for 'existing file tested for existence but never opened' so I'll need to add another flag to the constructor. This is because some tests rely on files being present but they are never read. *Sigh*. TBR=cmp@chromium.org NOTRY=true BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10736002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145610 0039d316-1c4b-4281-b951-d872f2087c98
* isolate.py: Make both run and trace accept extra arguments.maruel@chromium.org2012-07-061-16/+29
| | | | | | | | | | | | | | | | | | | | This permits running a command with an extra flag like --gtest_filter=Foo.Bar while reusing the whole isolate logic. Updated the --help documentation. Shuffled the statements so both CMDrun and CMDtrace use a more similar structure. TBR=cmp@chromium.org NOTRY=true BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10689123 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145607 0039d316-1c4b-4281-b951-d872f2087c98
* Prints useful error message for invalid arguments to trace_test_cases.py.maruel@chromium.org2012-07-062-4/+19
| | | | | | | | | | | | | | Make sure to normalize --cwd argument and do not default to 'chrome' anymore. TBR=cmp@chromium.org NOTRY=true BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10694102 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145591 0039d316-1c4b-4281-b951-d872f2087c98
* Make isolate.py succeed even if the .results to be archived already exist.maruel@chromium.org2012-07-061-3/+10
| | | | | | | | | | | | TBR=cmp@chromium.org NOTRY=true BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10701107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145590 0039d316-1c4b-4281-b951-d872f2087c98
* Fix isolate_file variable more consistently in isolate.py.maruel@chromium.org2012-07-062-5/+13
| | | | | | | | | | | | | | Otherwise using -i foo.ISOLATE would have failed. TBR=cmp@chromium.org NOTRY=true BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10735014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145583 0039d316-1c4b-4281-b951-d872f2087c98
* Normalize saved_state.isolate_file and complete_state.root_dir to reduce ↵maruel@chromium.org2012-07-062-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | problem later. Add more asserts about the format of the paths, no trailing / and already in native path case. This fixes a problem on Windows where the isolate_file path was used to generate root_dir, and it wasn't in native path case, causing problems later when trying to extract directories. This also fixes random path corruption on the .isolate result, that was mostly happening on OSX. Fixes error on exception. TBR=cmp@chromium.org NOTRY=true BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10692103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145565 0039d316-1c4b-4281-b951-d872f2087c98
* Improve error messages in trace_inputs.py.maruel@chromium.org2012-07-052-7/+13
| | | | | | | | | | | | | | No behavior change. TBR=cmp@chromium.org NOTRY=true BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10692100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145545 0039d316-1c4b-4281-b951-d872f2087c98
* Add command 'merge' to isolate.py. Fix merge with symlinks.maruel@chromium.org2012-07-055-48/+148
| | | | | | | | | | | | | | | | | | | Command 'merge' reads a trace and merges it back into the original .isolate file. This is a shortcut to simplify the workflow when updating a .isolate file automatically. When using merge_isolate.py, if a symlinked file was listed as an untracked dependency, it would be incorrectly upgraded to a tracked dependency. TBR=cmp@chromium.org NOTRY=true BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10703098 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145542 0039d316-1c4b-4281-b951-d872f2087c98
* Fix symlinked file handling.maruel@chromium.org2012-07-051-3/+3
| | | | | | | | | | | | | | | | Do not path join "rest" to the destination file when rest == '', which happens when a file inside a symlinked directory is added. Otherwise an '/' is added when it shouldn't. TBR=cmp@chromium.org NOTRY=true BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10701102 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145531 0039d316-1c4b-4281-b951-d872f2087c98
* Fix windows by not looking for symlinks.maruel@chromium.org2012-07-051-26/+27
| | | | | | | | | | | | TBR=cmp@chromium.org NOTRY=true BUG= TEST=not tested Review URL: https://chromiumcodereview.appspot.com/10690088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145494 0039d316-1c4b-4281-b951-d872f2087c98
* Fix symlink handling and add more smoke tests.maruel@chromium.org2012-07-055-65/+219
| | | | | | | | | | | | | | | | | | | | Fix get_native_path_case() on OSX to work with symlinks. This requires involved handling. Symlinks need to be carefully processed and they are neecessary to make browser_tests work on OSX. Improve Results.File.strip_root() to look for symlinks when stripping root. This happens when running an executable from the temp directory on OSX, causing some files to be lost otherwise. Have the smoke test verify this condition. TBR=cmp@chromium.org NOTRY=true BUG= TEST=Improved testing. Review URL: https://chromiumcodereview.appspot.com/10698101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145493 0039d316-1c4b-4281-b951-d872f2087c98
* Add more asserts and logging statement.maruel@chromium.org2012-07-051-1/+25
| | | | | | | | | | | | | | No behavior change. TBR=cmp@chromium.org NOTRY=true BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10694087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145488 0039d316-1c4b-4281-b951-d872f2087c98
* Fix variables on Windows.maruel@chromium.org2012-07-051-1/+2
| | | | | | | | | | | | | | | Variables are specified in OS native path, so normalize them to / because doing the variable replacement on .isolate dependencies. TBR=cmp@chromium.org NOTRY=true BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10704103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145487 0039d316-1c4b-4281-b951-d872f2087c98
* Normalize cwd and call fix_python_path() in mode == trace.maruel@chromium.org2012-07-051-12/+9
| | | | | | | | | | | | | | Reduce logging. TBR=cmp@chromium.org NOTRY=true BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10690087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145486 0039d316-1c4b-4281-b951-d872f2087c98
* Improve dtrace execve() parsing to support quotes and reenable execve tracing.maruel@chromium.org2012-07-043-18/+80
| | | | | | | | | | | | | | Since sprintf() is not available in dtrace, use custom quoting using char '\1'. TBR=cmp@chromium.org NOTRY=true BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10694084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145479 0039d316-1c4b-4281-b951-d872f2087c98
* Add fix_python_path() to trace_child_process.py.maruel@chromium.org2012-07-041-1/+11
| | | | | | | | | | | | | | This is necessary on Windows. TBR=cmp@chromium.org NOTRY=true BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10695100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145478 0039d316-1c4b-4281-b951-d872f2087c98
* Set Proper filepath in remove_lru_filecsharp@chromium.org2012-07-041-3/+5
| | | | | | | | | | | | | | The caching code has been failing to os.stat due to an incorrect filename, so the caches aren't getting cleared. NOTRY=true R=maruel@chromium.org BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10690082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145459 0039d316-1c4b-4281-b951-d872f2087c98
* Extension Docs Server: Function Templatescduvall@chromium.org2012-07-031-0/+3
| | | | | | | | | | | | | | | | | Note: some of the templates are very ugly and hard to read. Particularly, the type.html template. This is because it may be surrounded in a <pre></pre>, which keeps the formatting. This is unfortunate. These templates are used in: https://chromiumcodereview.appspot.com/10688002/ BUG=133772 TEST=none Review URL: https://chromiumcodereview.appspot.com/10679013 Patch from Christopher Hebert <hebert.christopherj@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145334 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaseline dromaeo expectations after recent improvement.tonyg@chromium.org2012-07-031-3/+3
| | | | | | | | | | | | | | | | | | Also, properly mark dromaeo scores as bigger-is-better and correct chart name for xp-release-dual-core expectations. linux-release/dromaeo_jslib/jslib/score: http://build.chromium.org/f/chromium/perf/linux-release/dromaeo_jslib/report.html?history=150&rev=145312 xp-release-dual-core/dromaeo_domcore/dom/score: http://build.chromium.org/f/chromium/perf/xp-release-dual-core/dromaeo_domcore/report.html?history=150&rev=145312 xp-release-dual-core/dromaeo_jslib/jslib/score: http://build.chromium.org/f/chromium/perf/xp-release-dual-core/dromaeo_jslib/report.html?history=150&rev=145312 BUG=None TBR=cmp@chromium.org TEST= Review URL: https://chromiumcodereview.appspot.com/10695083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145333 0039d316-1c4b-4281-b951-d872f2087c98
* Temporarily rebaseline XP dual core's moz cycler browser IO expectations.tonyg@chromium.org2012-07-031-1/+1
| | | | | | | | | | | | | xp-release-dual-core/moz/total_byte_b/IO_b: http://build.chromium.org/f/chromium/perf/xp-release-dual-core/moz/report.html?history=150&rev=145065&graph=total_byte_b BUG=135627 TBR=cmp@chromium.org TEST= Review URL: https://chromiumcodereview.appspot.com/10699077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145329 0039d316-1c4b-4281-b951-d872f2087c98
* Temporarily rebaseline XP dual core's moz cycler IO expectations.tonyg@chromium.org2012-07-031-1/+1
| | | | | | | | | | | | | xp-release-dual-core/moz/total_byte_r/IO_r: http://build.chromium.org/f/chromium/perf/xp-release-dual-core/moz/report.html?history=150&rev=145065&graph=total_byte_r BUG=135627 TBR=cmp@chromium.org TEST= Review URL: https://chromiumcodereview.appspot.com/10702084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145327 0039d316-1c4b-4281-b951-d872f2087c98
* Fix isolate variable handling to happen after root path rebasing.maruel@chromium.org2012-07-031-3/+9
| | | | | | | | | | | | | | This would cause the variables to not be properly handled otherwise. TBR=cmp@chromium.org NOTRY=true BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10704020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145318 0039d316-1c4b-4281-b951-d872f2087c98
* Fix trace_inputs.py strace parsing on clone() failure.maruel@chromium.org2012-07-031-1/+2
| | | | | | | | | | | | | | | | The browser_tests test SUIDSandboxUITest.testSUIDSandboxEnabled generates a different kind of failure on clone(), modify the log parser to handle this failure. TBR=cmp@chromium.org NOTRY=true BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10716006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145317 0039d316-1c4b-4281-b951-d872f2087c98
* Fix all tools/isolate tests to work on Windows.maruel@chromium.org2012-07-034-132/+148
| | | | | | | | | | | | | | | Windows doesn't support symlinks so make sure the tests are not run there. Fix a regression in isolate_test.py with .results format expectation on Windows. TBR=cmp@chromium.org NOTRY=true BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10695025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145316 0039d316-1c4b-4281-b951-d872f2087c98
* Fix exception handling.maruel@chromium.org2012-07-032-1/+4
| | | | | | | | | | | | | | Now if the trace generates an exception, it is properly printed. TBR=cmp@chromium.org NOTRY=true BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10703025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145314 0039d316-1c4b-4281-b951-d872f2087c98
* Add functionality to only specify the hash of the result file (manifest) to loadmaruel@chromium.org2012-07-033-14/+284
| | | | | | | | | | | | | | | | | This removes the need to copy the manifest around. Improve --help output by categorizing the options. Add smoke test for run_test_from_archive.py TBR=cmp@chromium.org NOTRY=true BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10701004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145308 0039d316-1c4b-4281-b951-d872f2087c98
* Add a simple script to run a shard inside a google-test executable.maruel@chromium.org2012-07-031-0/+49
| | | | | | | | | | | | | | | | | This works around the lack of corresponding --gtest_shards and --gtest_index flags in google-test framework. For example, I can then run something like: ./shard.py -i 0 -s 2000 ./isolate.py run -r ../../out/Release/browser_tests.results TBR=cmp@chromium.org NOTRY=true BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10702023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145307 0039d316-1c4b-4281-b951-d872f2087c98
* Widen a TSan suppression.eugenis@chromium.org2012-07-031-1/+0
| | | | | | | | | | BUG=104769 TEST=none TBR=rnk Review URL: https://chromiumcodereview.appspot.com/10701074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145274 0039d316-1c4b-4281-b951-d872f2087c98
* Remove memory leak suppressions for EventListenerMapUnittest.koz@chromium.org2012-07-032-14/+0
| | | | | | | | | | | This leak was fixed in http://crrev.com/145191. BUG=135504 TBR=rnk@chromium.org Review URL: https://chromiumcodereview.appspot.com/10700073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145256 0039d316-1c4b-4281-b951-d872f2087c98
* Update libva to pick up updated license headers.fischman@chromium.org2012-07-031-33/+0
| | | | | | | | | | | | | | | | | | | (no material change, just allow removing checklicenses.py exceptions) Updated via: cd /tmp git clone git://anongit.freedesktop.org/git/libva cd ~/src/chromium/src/third_party/libva for f in $(find va/ -type f); do cp /tmp/libva/$f $f; done TBR=thestig@chromium.org BUG=126466 TEST=SUCCESS according to: ./tools/checklicenses/checklicenses.py third_party/libva Review URL: https://chromiumcodereview.appspot.com/10694038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145243 0039d316-1c4b-4281-b951-d872f2087c98
* Update the JSON Schema Compiler to take dependencies of the form type:name.mitchellwrosen@chromium.org2012-07-031-0/+7
| | | | | | | | | BUG=135224 Review URL: https://chromiumcodereview.appspot.com/10700039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145235 0039d316-1c4b-4281-b951-d872f2087c98
* Remove drmemory suppression for the ChromotingHostTest leaks.rnk@chromium.org2012-07-021-7/+0
| | | | | | | | | BUG=135501 TBR=simonmorris@chromium.org Review URL: https://chromiumcodereview.appspot.com/10697060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145199 0039d316-1c4b-4281-b951-d872f2087c98
* Suppress unit test leaks from the last six hours.rnk@chromium.org2012-07-022-0/+21
| | | | | | | | | | TBR=koz@chromium.org,simonmorris@chromium.org BUG=135504,135501 TEST=waterfall.sh Review URL: https://chromiumcodereview.appspot.com/10692065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145196 0039d316-1c4b-4281-b951-d872f2087c98