Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(243)

Unified Diff: testing/tools/run_javascript_tests.py

Issue 1607923004: Hook up show-config to testing scripts. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: And JS too Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « testing/tools/run_corpus_tests.py ('k') | testing/tools/run_pixel_tests.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/tools/run_javascript_tests.py
diff --git a/testing/tools/run_javascript_tests.py b/testing/tools/run_javascript_tests.py
index 0c2401774e6cd4d95617a8e239d23017b4a99a08..a6e3ee2d5179ccf4687c11ca86e7345f61dec80d 100755
--- a/testing/tools/run_javascript_tests.py
+++ b/testing/tools/run_javascript_tests.py
@@ -63,6 +63,11 @@ def main():
if not os.path.exists(working_dir):
os.makedirs(working_dir)
+ feature_string = subprocess.check_output([pdfium_test_path, '--show-config'])
+ if not "V8" in feature_string.strip().split(","):
Oliver Chang 2016/01/19 22:51:49 nit: if "V8" not in
Tom Sepez 2016/01/19 22:53:45 Done.
+ print "V8 not enabled, skipping."
Oliver Chang 2016/01/19 22:51:49 indentation should be 2 spaces, not 4
Tom Sepez 2016/01/19 22:53:45 Done.
+ return 0
+
input_files = []
if len(args):
for file_name in args:
« no previous file with comments | « testing/tools/run_corpus_tests.py ('k') | testing/tools/run_pixel_tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698