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: |