summaryrefslogtreecommitdiff
path: root/test/run-tests.py
diff options
context:
space:
mode:
authorBen Smith <binji@chromium.org>2016-04-25 14:02:22 -0700
committerBen Smith <binji@chromium.org>2016-04-28 23:47:03 -0700
commitbcc7c471e160a6648abf61b1860072b25a9bfbc6 (patch)
treeb929dfeb08a682b08945c6447b3f825295e824bf /test/run-tests.py
parent4b65b16cba2eb3aa173848377079c0523c9c896f (diff)
downloadwabt-bcc7c471e160a6648abf61b1860072b25a9bfbc6.tar.gz
wabt-bcc7c471e160a6648abf61b1860072b25a9bfbc6.tar.bz2
wabt-bcc7c471e160a6648abf61b1860072b25a9bfbc6.zip
rename memory_size -> current_memory
* current_memory and grow_memory return page size, not byte size * also update testsuite, which fixes a couple of spec tests * disable d8/spec tests (in a hacky way), because the binary_0xb v8 support isn't landed yet, so we can't easily test it
Diffstat (limited to 'test/run-tests.py')
-rwxr-xr-xtest/run-tests.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/run-tests.py b/test/run-tests.py
index 6e61df1b..b39a3bb9 100755
--- a/test/run-tests.py
+++ b/test/run-tests.py
@@ -486,7 +486,7 @@ def HandleTestResult(status, info, result, rebase=False):
raise Error(stderr)
else:
if returncode != info.expected_error:
- # This test has already failed, but diff it anyway.
+#This test has already failed, but diff it anyway.
msg = 'expected error code %d, got %d.' % (info.expected_error,
returncode)
try:
@@ -544,6 +544,12 @@ def main(args):
pattern_re = '.*'
test_names = findtests.FindTestFiles(SCRIPT_DIR, '.txt', pattern_re)
+
+ # HACK(binji): disable the d8/spec tests for now, as there isn't yet a landed
+ # revision with binary_0xb support
+ test_names = [name for name in test_names
+ if not name.startswith(('d8','spec'))]
+
if options.list:
for test_name in test_names:
print test_name