# This test times out.
test-threads/ThreadJoinSelf: SKIP
+
+##############################################################################
+[ $arch == nacl_ia32 || $arch == nacl_x64 ]
+
+# These tests fail as there is no /tmp directory in Native Client.
+test-log/LogAccessorCallbacks: SKIP
+test-log/LogCallbacks: SKIP
+test-log/ProfLazyMode: SKIP
+
+# Native Client doesn't support sockets.
+test-debug/DebuggerAgent: SKIP
+test-debug/DebuggerAgentProtocolOverflowHeader: SKIP
+test-sockets/Socket: SKIP
return []
tests = []
for test_desc in output.stdout.strip().split():
+ if test_desc.find('<') < 0:
+ # Native Client output can contain a few non-test arguments
+ # before the tests. Skip these.
+ continue
raw_test, dependency = test_desc.split('<')
if dependency != '':
dependency = raw_test.split('/')[0] + '/' + dependency
"""Ignore empty lines, valgrind output and Android output."""
if not string: return True
return (string.startswith("==") or string.startswith("**") or
- string.startswith("ANDROID"))
+ string.startswith("ANDROID") or
+ # These five patterns appear in normal Native Client output.
+ string.startswith("DEBUG MODE ENABLED") or
+ string.startswith("tools/nacl-run.py") or
+ string.find("BYPASSING ALL ACL CHECKS") > 0 or
+ string.find("Native Client module will be loaded") > 0 or
+ string.find("NaClHostDescOpen:") > 0)
def IsFailureOutput(self, output, testpath):
expected_path = os.path.join(self.root, testpath + ".out")
debug-liveedit-restart-frame: SKIP
debug-liveedit-double-call: SKIP
+##############################################################################
+# Native Client uses the ARM simulator so will behave similarly to arm
+# on mjsunit tests.
+# TODO(bradchen): enable more tests for NaCl V8 when it stops using
+# the ARM simulator.
+##############################################################################
+[ $arch == nacl_ia32 || $arch == nacl_x64 ]
+# There is no /tmp directory for NaCl runs
+d8-os: SKIP
+
+# Stack manipulations in LiveEdit is not implemented for this arch.
+debug-liveedit-check-stack: SKIP
+debug-liveedit-stack-padding: SKIP
+debug-liveedit-restart-frame: SKIP
+debug-liveedit-double-call: SKIP
+
+# This test dumps core for arm.debug, so no reason to expect it to work
+# for NaCl. The other three fuzz-natives tests seem to run fine.
+# As noted above none of them are run in the arm.debug case.
+fuzz-natives-part4: SKIP
+
+# Requires bigger stack size in the Genesis and if stack size is increased,
+# the test requires too much time to run. However, the problem test covers
+# should be platform-independent.
+regress/regress-1132: SKIP
+
+# Poor performance for NaCl V8 causes an assertion failure for this test.
+regress/regress-165637: SKIP
+
+# Skip long running test that times out in debug mode and goes OOM on NaCl.
+regress/regress-crbug-160010: SKIP
"arm",
"ia32",
"mipsel",
+ "nacl_ia32",
+ "nacl_x64",
"x64"]
# Double the timeout for these:
SLOW_ARCHS = ["android_arm",
"android_ia32",
"arm",
- "mipsel"]
+ "mipsel",
+ "nacl_ia32",
+ "nacl_x64"]
def BuildOptions():
# Support arches, modes to be written as keywords instead of strings.
VARIABLES = {ALWAYS: True}
for var in ["debug", "release", "android_arm", "android_ia32", "arm", "ia32",
- "mipsel", "x64"]:
+ "mipsel", "x64", "nacl_ia32", "nacl_x64"]:
VARIABLES[var] = var