v8/test
Milad Farazmand 0c3906f4dc Fix an error caused by a bug in Python < 2.7.9
There seems to be a bug in Python versions prior
to 2.7.9 where running exec could produce the following error:

SyntaxError: unqualified exec is not allowed in function
'_ParsePythonTestTemplates' it contains a nested function
with free variables (testcfg.py, line 71)

https://bugs.python.org/issue21591

It's causing an issue on all Ubuntu 14 and RHEL 7 machines.

The proposed change is an equivalent syntax which doesn't
produce an error:
https://docs.python.org/2/reference/simple_stmts.html#the-exec-statement


Change-Id: I159cc1be58ff375f313ae5c4fb814763704b880e
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1893647
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Commit-Queue: Milad Farazmand <miladfar@ca.ibm.com>
Cr-Commit-Position: refs/heads/master@{#64736}
2019-11-04 13:42:10 +00:00
..
benchmarks Remove 'embedded_builtins' variant 2019-10-22 12:58:02 +00:00
cctest Un-marking tests that were marked SLOW due to TNodification 2019-11-04 13:30:30 +00:00
common [wasm] Rename {Get,Set}Global to Global{Get,Set} 2019-10-08 14:27:50 +00:00
debugger Remove 'embedded_builtins' variant 2019-10-22 12:58:02 +00:00
fuzzer Remove 'embedded_builtins' variant 2019-10-22 12:58:02 +00:00
inspector [wasm] Report module name if available 2019-10-31 20:32:31 +00:00
intl Roll to ICU 65.1 2019-10-31 17:13:46 +00:00
js-perf-test [js-perf-tests] Adds performance tests for BigInt subtraction 2019-10-22 13:32:09 +00:00
memory [owners] Remove redundant OWNERS files in test/ 2019-06-24 12:44:32 +00:00
message [regexp] Improve String.prototype.matchAll error message 2019-10-24 01:54:58 +00:00
mjsunit Un-marking tests that were marked SLOW due to TNodification 2019-11-04 13:30:30 +00:00
mkgrokdump [heap] Enable Verify for RO_SPACE when it is shared 2019-11-04 09:55:45 +00:00
mozilla Un-marking tests that were marked SLOW due to TNodification 2019-11-04 13:30:30 +00:00
preparser Fix an error caused by a bug in Python < 2.7.9 2019-11-04 13:42:10 +00:00
test262 Fix variant sorting in locale by rolling ICU 2019-11-04 10:25:30 +00:00
torque [torque] fix formatting of union types 2019-10-24 10:05:25 +00:00
unittests Preserve feedback and speculation mode for JSCall 2019-11-04 13:22:50 +00:00
wasm-api-tests Remove 'embedded_builtins' variant 2019-10-22 12:58:02 +00:00
wasm-js [wasm] update spec tests 2019-10-31 10:09:46 +00:00
wasm-spec-tests [wasm] update spec tests 2019-10-31 10:09:46 +00:00
webkit Remove 'embedded_builtins' variant 2019-10-22 12:58:02 +00:00
BUILD.gn Remove cctest dependency from v8_perf group 2019-10-31 14:09:29 +00:00
OWNERS Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00