diff options
author | glider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-16 10:23:28 +0000 |
---|---|---|
committer | glider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-16 10:23:28 +0000 |
commit | a6be61f996d1924abb9a6138e3cbb88061dbada9 (patch) | |
tree | 551a5810774fc7a3489baf46eb3cfe9e7f868cda /tools | |
parent | 2264d904da86cb735e16c54b12c8e71584f8edff (diff) | |
download | chromium_src-a6be61f996d1924abb9a6138e3cbb88061dbada9.zip chromium_src-a6be61f996d1924abb9a6138e3cbb88061dbada9.tar.gz chromium_src-a6be61f996d1924abb9a6138e3cbb88061dbada9.tar.bz2 |
Add courgette_unittests to the list of tests runnable under Valgrind and
Heapchecker.
TBR=timurrrr
Review URL: http://codereview.chromium.org/2846008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49919 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/heapcheck/chrome_tests.py | 9 | ||||
-rwxr-xr-x | tools/valgrind/chrome_tests.py | 4 |
2 files changed, 11 insertions, 2 deletions
diff --git a/tools/heapcheck/chrome_tests.py b/tools/heapcheck/chrome_tests.py index 23c8e06..f225e64 100755 --- a/tools/heapcheck/chrome_tests.py +++ b/tools/heapcheck/chrome_tests.py @@ -82,6 +82,8 @@ class ChromeTests(object): "base": self.TestBase, "base_unittests": self.TestBase, "browser": self.TestBrowser, "browser_tests": self.TestBrowser, "googleurl": self.TestGURL, "googleurl_unittests": self.TestGURL, + "courgette": self.TestCourgette, + "courgette_unittests": self.TestCourgette, "ipc": self.TestIpc, "ipc_tests": self.TestIpc, "layout": self.TestLayout, "layout_tests": self.TestLayout, "media": self.TestMedia, "media_unittests": self.TestMedia, @@ -184,8 +186,8 @@ class ChromeTests(object): return self._test_list[self._test]() def _ReadGtestFilterFile(self, name, cmd): - '''Reads files which contain lists of tests to filter out with --gtest_filter - and appends the command-line option to |cmd|. + '''Reads files which contain lists of tests to filter out with + --gtest_filter and appends the command-line option to |cmd|. Args: name: the test executable name. @@ -249,6 +251,9 @@ class ChromeTests(object): def TestGURL(self): return self.SimpleTest("chrome", "googleurl_unittests") + def TestCourgette(self): + return self.SimpleTest("courgette", "courgette_unittests") + def TestMedia(self): return self.SimpleTest("chrome", "media_unittests") diff --git a/tools/valgrind/chrome_tests.py b/tools/valgrind/chrome_tests.py index f30c822..ed37a67 100755 --- a/tools/valgrind/chrome_tests.py +++ b/tools/valgrind/chrome_tests.py @@ -229,6 +229,9 @@ class ChromeTests: def TestGURL(self): return self.SimpleTest("chrome", "googleurl_unittests") + def TestCourgette(self): + return self.SimpleTest("courgette", "courgette_unittests") + def TestMedia(self): return self.SimpleTest("chrome", "media_unittests") @@ -386,6 +389,7 @@ class ChromeTests: "base": TestBase, "base_unittests": TestBase, "browser": TestBrowser, "browser_tests": TestBrowser, "googleurl": TestGURL, "googleurl_unittests": TestGURL, + "courgette": TestCourgette, "courgette_unittests": TestCourgette, "ipc": TestIpc, "ipc_tests": TestIpc, "layout": TestLayout, "layout_tests": TestLayout, "media": TestMedia, "media_unittests": TestMedia, |