summaryrefslogtreecommitdiffstats
path: root/testing/scripts
diff options
context:
space:
mode:
authormsw <msw@chromium.org>2015-06-18 17:42:41 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-19 00:43:17 +0000
commitc93d5541891b61b89307e3df1de84470b7be503a (patch)
treea71fcf44547ae329e94b955e149c646ab1896f9f /testing/scripts
parent5c2d502d34ea0f162d7fc5c916b1cff9e6acb0b4 (diff)
downloadchromium_src-c93d5541891b61b89307e3df1de84470b7be503a.zip
chromium_src-c93d5541891b61b89307e3df1de84470b7be503a.tar.gz
chromium_src-c93d5541891b61b89307e3df1de84470b7be503a.tar.bz2
Make apptest arg optional; avoid xvfb for --gtest_list_tests
Make the apptest_runner test list file arg optional. Cleanup some argument help info, etc. Do not use xvfb for --gtest_list_tests (breaks parsing). Update the mojo_apptest.py testing script incovation. BUG=NONE TEST=Simpler apptest_runner.py invocation, no unintended test invocations from xvfb output. R=sky@chromium.org TBR=phajdan.jr@chromium.org Review URL: https://codereview.chromium.org/1175133005 Cr-Commit-Position: refs/heads/master@{#335179}
Diffstat (limited to 'testing/scripts')
-rwxr-xr-xtesting/scripts/mojo_apptest.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/testing/scripts/mojo_apptest.py b/testing/scripts/mojo_apptest.py
index 09e3f23..49b855da2 100755
--- a/testing/scripts/mojo_apptest.py
+++ b/testing/scripts/mojo_apptest.py
@@ -13,11 +13,10 @@ import common
def main_run(args):
runner = os.path.join(common.SRC_DIR, 'mojo', 'tools', 'apptest_runner.py')
- tests = os.path.join(common.SRC_DIR, 'mojo', 'tools', 'data', 'apptests')
build_dir = os.path.join(common.SRC_DIR, 'out', args.build_config_fs)
with common.temporary_file() as tempfile_path:
- rc = common.run_command([runner, tests, build_dir, '--verbose',
+ rc = common.run_command([runner, build_dir, '--verbose',
'--write-full-results-to', tempfile_path])
with open(tempfile_path) as f:
results = json.load(f)