diff --git a/test/mjsunit/mjsunit.status b/test/mjsunit/mjsunit.status index 734b412a6f..88af5fa6ee 100644 --- a/test/mjsunit/mjsunit.status +++ b/test/mjsunit/mjsunit.status @@ -647,16 +647,8 @@ # Precision: 'es6/math-log2-log10': [FAIL], # Timezone issues: - 'icu-date-lord-howe': [FAIL], 'icu-date-to-string': [FAIL], 'regress/regress-6288': [FAIL], - 'tzoffset-seoul': [FAIL], - 'tzoffset-seoul-noi18n': [FAIL], - 'tzoffset-transition-apia': [FAIL], - 'tzoffset-transition-lord-howe': [FAIL], - 'tzoffset-transition-moscow': [FAIL], - 'tzoffset-transition-new-york': [FAIL], - 'tzoffset-transition-new-york-noi18n': [FAIL], # OOM: 'regress/regress-599414-array-concat-fast-path': [FAIL], 'regress/regress-748069': [FAIL], diff --git a/tools/testrunner/local/android.py b/tools/testrunner/local/android.py index 9f2848f84c..16e4f4f4ca 100644 --- a/tools/testrunner/local/android.py +++ b/tools/testrunner/local/android.py @@ -141,7 +141,7 @@ class _Driver(object): skip_if_missing=True, ) - def run(self, target_dir, binary, args, rel_path, timeout): + def run(self, target_dir, binary, args, rel_path, timeout, env=None): """Execute a command on the device's shell. Args: @@ -151,6 +151,7 @@ class _Driver(object): args: List of arguments to pass to the binary. rel_path: Relative path on device to use as CWD. timeout: Timeout in seconds. + env: The environment variables with which the command should be run. """ binary_on_device = os.path.join(DEVICE_DIR, target_dir, binary) cmd = [binary_on_device] + args @@ -159,6 +160,7 @@ class _Driver(object): cmd, cwd=os.path.join(DEVICE_DIR, rel_path), check_return=True, + env=env, timeout=timeout, retries=0, ) diff --git a/tools/testrunner/local/command.py b/tools/testrunner/local/command.py index c717923f51..302d568e87 100644 --- a/tools/testrunner/local/command.py +++ b/tools/testrunner/local/command.py @@ -249,7 +249,7 @@ class AndroidCommand(BaseCommand): timed_out = False try: stdout = android_driver().run( - 'bin', self.shell_name, self.args, '.', self.timeout) + 'bin', self.shell_name, self.args, '.', self.timeout, self.env) except CommandFailedException as e: return_code = e.status stdout = e.output