Revision: 14178
Author: [email protected]
Date: Tue Apr 9 01:39:01 2013
Log: Modifications to tests and test tools for Native Client V8.
BUG=2614
Review URL: https://chromiumcodereview.appspot.com/13638013
Patch from Brad Chen <[email protected]>.
http://code.google.com/p/v8/source/detail?r=14178
Modified:
/branches/bleeding_edge/test/cctest/cctest.status
/branches/bleeding_edge/test/cctest/testcfg.py
/branches/bleeding_edge/test/message/testcfg.py
/branches/bleeding_edge/test/mjsunit/mjsunit.status
/branches/bleeding_edge/tools/run-tests.py
/branches/bleeding_edge/tools/testrunner/local/statusfile.py
=======================================
--- /branches/bleeding_edge/test/cctest/cctest.status Fri Jan 18 05:05:03
2013
+++ /branches/bleeding_edge/test/cctest/cctest.status Tue Apr 9 01:39:01
2013
@@ -90,3 +90,16 @@
# 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
=======================================
--- /branches/bleeding_edge/test/cctest/testcfg.py Tue Jan 29 05:27:23 2013
+++ /branches/bleeding_edge/test/cctest/testcfg.py Tue Apr 9 01:39:01 2013
@@ -57,6 +57,10 @@
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
=======================================
--- /branches/bleeding_edge/test/message/testcfg.py Mon Sep 24 02:38:46 2012
+++ /branches/bleeding_edge/test/message/testcfg.py Tue Apr 9 01:39:01 2013
@@ -74,7 +74,13 @@
"""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")
=======================================
--- /branches/bleeding_edge/test/mjsunit/mjsunit.status Mon Apr 8 10:37:22
2013
+++ /branches/bleeding_edge/test/mjsunit/mjsunit.status Tue Apr 9 01:39:01
2013
@@ -202,3 +202,34 @@
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
=======================================
--- /branches/bleeding_edge/tools/run-tests.py Thu Feb 21 03:40:37 2013
+++ /branches/bleeding_edge/tools/run-tests.py Tue Apr 9 01:39:01 2013
@@ -68,12 +68,16 @@
"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():
=======================================
--- /branches/bleeding_edge/tools/testrunner/local/statusfile.py Mon Sep 24
02:38:46 2012
+++ /branches/bleeding_edge/tools/testrunner/local/statusfile.py Tue Apr 9
01:39:01 2013
@@ -59,7 +59,7 @@
# 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
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.