diff options
author | alicet@chromium.org <alicet@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-31 17:40:16 +0000 |
---|---|---|
committer | alicet@chromium.org <alicet@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-31 17:40:16 +0000 |
commit | 4953d362e1ddc59fb17f7870a451825223f6ee09 (patch) | |
tree | b72d9cd03fed6451eef15089dfb08cbdc23866c5 /tools | |
parent | 87e4627255cd4a3ec7f738d0cb0863054b985979 (diff) | |
download | chromium_src-4953d362e1ddc59fb17f7870a451825223f6ee09.zip chromium_src-4953d362e1ddc59fb17f7870a451825223f6ee09.tar.gz chromium_src-4953d362e1ddc59fb17f7870a451825223f6ee09.tar.bz2 |
add aura_shell_unittests to chrome_tests.py.
aura_shell_unittests is not memory clean yet, but adding this will allow us to run them on demand.
BUG=None
TEST=test ran with -t aura_shell_unittests.
Review URL: https://chromiumcodereview.appspot.com/9159055
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119912 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/heapcheck/chrome_tests.py | 4 | ||||
-rwxr-xr-x | tools/valgrind/chrome_tests.py | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/tools/heapcheck/chrome_tests.py b/tools/heapcheck/chrome_tests.py index f01231d..846d81e 100755 --- a/tools/heapcheck/chrome_tests.py +++ b/tools/heapcheck/chrome_tests.py @@ -78,6 +78,7 @@ class ChromeTests(object): # The known list of tests. # Recognise the original abbreviations as well as full executable names. self._test_list = { + "ash": self.TestAsh, "aura_shell_unittests": self.TestAsh, "base": self.TestBase, "base_unittests": self.TestBase, "browser": self.TestBrowser, "browser_tests": self.TestBrowser, "crypto": self.TestCrypto, "crypto_unittests": self.TestCrypto, @@ -242,6 +243,9 @@ class ChromeTests(object): os.putenv("LD_LIBRARY_PATH", self._options.build_dir) return heapcheck_test.RunTool(cmd, supp, module) + def TestAsh(self): + return self.SimpleTest("ash", "aura_shell_unittests") + def TestBase(self): return self.SimpleTest("base", "base_unittests") diff --git a/tools/valgrind/chrome_tests.py b/tools/valgrind/chrome_tests.py index 42e7472..ae3696b 100755 --- a/tools/valgrind/chrome_tests.py +++ b/tools/valgrind/chrome_tests.py @@ -222,6 +222,9 @@ class ChromeTests: self.SetupLdPath(False) return tool.Run(cmd, None) + def TestAsh(self): + return self.SimpleTest("ash", "aura_shell_unittests") + def TestBase(self): return self.SimpleTest("base", "base_unittests") @@ -438,6 +441,7 @@ class ChromeTests: # Recognise the original abbreviations as well as full executable names. _test_list = { "cmdline" : RunCmdLine, + "ash": TestAsh, "aura_shell_unittests": TestAsh, "automated_ui" : TestAutomatedUI, "base": TestBase, "base_unittests": TestBase, "browser": TestBrowser, "browser_tests": TestBrowser, |