summaryrefslogtreecommitdiffstats
path: root/tools/code_coverage/coverage_posix.py
diff options
context:
space:
mode:
authorpshenoy@chromium.org <pshenoy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-13 10:36:11 +0000
committerpshenoy@chromium.org <pshenoy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-13 10:36:11 +0000
commit178e7e9f65f8c9159006b2f68a8c19034a1a0e8b (patch)
tree1c1a8cad75ea6954b1642aaa0310345d55c7081f /tools/code_coverage/coverage_posix.py
parent6ba3d26c96bb40b7bf642a290d2250eca6398275 (diff)
downloadchromium_src-178e7e9f65f8c9159006b2f68a8c19034a1a0e8b.zip
chromium_src-178e7e9f65f8c9159006b2f68a8c19034a1a0e8b.tar.gz
chromium_src-178e7e9f65f8c9159006b2f68a8c19034a1a0e8b.tar.bz2
Execute "unit_tests" when running coverage_posix.py with --all_unittests parameter.
Review URL: https://chromiumcodereview.appspot.com/11293230 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167361 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/code_coverage/coverage_posix.py')
-rwxr-xr-xtools/code_coverage/coverage_posix.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/code_coverage/coverage_posix.py b/tools/code_coverage/coverage_posix.py
index 3a906f0..ee92441 100755
--- a/tools/code_coverage/coverage_posix.py
+++ b/tools/code_coverage/coverage_posix.py
@@ -602,6 +602,7 @@ class Coverage(object):
# If asked, run all we can find.
if self.options.all_unittests:
self.tests += glob.glob(os.path.join(self.directory, '*_unittests'))
+ self.tests += glob.glob(os.path.join(self.directory, '*unit_tests'))
# Tests can come in as args directly, indirectly (through a file
# of test lists) or as a file of bundles.