Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Unified Diff: tools/run-tests.py

Issue 139233005: Skip webkit/function-apply-aliased.js when running on simulators. (Closed) Base URL: https://github.com/v8/v8.git@gbl
Patch Set: Fixed nits. Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/webkit/webkit.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/run-tests.py
diff --git a/tools/run-tests.py b/tools/run-tests.py
index f905c03d3f63789d39254ec978966e830f769653..ec7021e55e8c5a956ff420da5b0fc482000abcb2 100755
--- a/tools/run-tests.py
+++ b/tools/run-tests.py
@@ -33,6 +33,7 @@ import multiprocessing
import optparse
import os
from os.path import join
+import platform
import shlex
import subprocess
import sys
@@ -387,6 +388,13 @@ def Execute(arch, mode, args, options, suites, workspace):
options.no_i18n)
# Find available test suites and read test cases from them.
+ machine = platform.machine()
+ if (machine and
+ (arch == "mipsel" or arch == "arm") and
+ not arch.startswith(machine)):
+ use_simulator = True
+ else:
+ use_simulator = False
variables = {
"arch": arch,
"asan": options.asan,
@@ -396,6 +404,7 @@ def Execute(arch, mode, args, options, suites, workspace):
"mode": mode,
"no_i18n": options.no_i18n,
"system": utils.GuessOS(),
+ "simulator": use_simulator,
}
all_tests = []
num_tests = 0
« no previous file with comments | « test/webkit/webkit.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698