diff options
Diffstat (limited to 'tests/DumpRenderTree/assets/run_layout_tests.py')
-rwxr-xr-x | tests/DumpRenderTree/assets/run_layout_tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/DumpRenderTree/assets/run_layout_tests.py b/tests/DumpRenderTree/assets/run_layout_tests.py index 7f3ef2d..d3726c1 100755 --- a/tests/DumpRenderTree/assets/run_layout_tests.py +++ b/tests/DumpRenderTree/assets/run_layout_tests.py @@ -192,7 +192,7 @@ def main(options, args): # JS_ENGINE environment variable, which is used by the build system in # external/webkit/Android.mk. js_engine = options.js_engine - if not js_engine: + if not js_engine and os.environ.has_key('JS_ENGINE'): js_engine = os.environ['JS_ENGINE'] if js_engine: run_layout_test_cmd_postfix += " -e jsengine " + js_engine |