summaryrefslogtreecommitdiff
path: root/deps/v8/tools/predictable_wrapper.py
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/tools/predictable_wrapper.py')
-rw-r--r--deps/v8/tools/predictable_wrapper.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/deps/v8/tools/predictable_wrapper.py b/deps/v8/tools/predictable_wrapper.py
index c357c13b41..2299a5195e 100644
--- a/deps/v8/tools/predictable_wrapper.py
+++ b/deps/v8/tools/predictable_wrapper.py
@@ -17,10 +17,14 @@ compared. Differences are reported as errors.
import sys
from testrunner.local import command
+from testrunner.local import utils
MAX_TRIES = 3
TIMEOUT = 120
+# Predictable mode works only when run on the host os.
+command.setup(utils.GuessOS())
+
def main(args):
def allocation_str(stdout):
for line in reversed((stdout or '').splitlines()):