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

Side by Side Diff: pydir/wasm-run-torture-tests.py

Issue 1913153003: Subzero. Wasm. Implement sbrk and correctly do bounds checks. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Cleanup Created 4 years, 8 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 unified diff | Download patch
OLDNEW
1 #!/usr/bin/env python2 1 #!/usr/bin/env python2
2 2
3 #===- subzero/wasm-run-torture-tests.py - Subzero WASM Torture Test Driver ===// 3 #===- subzero/wasm-run-torture-tests.py - Subzero WASM Torture Test Driver ===//
4 # 4 #
5 # The Subzero Code Generator 5 # The Subzero Code Generator
6 # 6 #
7 # This file is distributed under the University of Illinois Open Source 7 # This file is distributed under the University of Illinois Open Source
8 # License. See LICENSE.TXT for details. 8 # License. See LICENSE.TXT for details.
9 # 9 #
10 #===-----------------------------------------------------------------------===// 10 #===-----------------------------------------------------------------------===//
11 11
12 from __future__ import print_function 12 from __future__ import print_function
13 import argparse 13 import argparse
14 import glob 14 import glob
15 import multiprocessing 15 import multiprocessing
16 import os 16 import os
17 import Queue 17 import Queue
18 import shutil 18 import shutil
19 import StringIO 19 import StringIO
20 import sys 20 import sys
21 import threading 21 import threading
22 22
23 IGNORED_TESTS = set([ 23 IGNORED_TESTS = set([
24 'loop-2f.c.wasm', # mmap not in MVP
25 'loop-2g.c.wasm', # mmap not in MVP
26
27 '960521-1.c.wasm', # sbrk
28 'ipa-sra-2.c.wasm', # sbrk
29 'pr41463.c.wasm', # sbrk
30 '20051113-1.c.wasm', # sbrk
31 '990628-1.c.wasm', # sbrk
32 'pr41395-2.c.wasm', # sbrk
33 'pr42614.c.wasm', # sbrk
34 'pr41395-1.c.wasm', # sbrk
35 '920810-1.c.wasm', # sbrk
36 '20000914-1.c.wasm', # sbrk
37 'pr15262-1.c.wasm', # sbrk
38 '941014-2.c.wasm', # sbrk
39 'va-arg-21.c.wasm', # sbrk
40 '20020406-1.c.wasm', # sbrk
41
42 # waterfall known failures 24 # waterfall known failures
Jim Stichnoth 2016/04/22 20:48:53 There are a number of blank lines in this list, wi
Eric Holk 2016/04/22 22:32:47 Done.
43 '20010122-1.c.wasm', 25 '20010122-1.c.wasm',
44 '20031003-1.c.wasm', 26 '20031003-1.c.wasm',
45 '20071018-1.c.wasm', 27 '20071018-1.c.wasm',
46 '20071120-1.c.wasm', 28 '20071120-1.c.wasm',
47 '20071220-1.c.wasm', 29 '20071220-1.c.wasm',
48 '20071220-2.c.wasm', 30 '20071220-2.c.wasm',
49 '20101011-1.c.wasm', 31 '20101011-1.c.wasm',
50 'alloca-1.c.wasm', 32 'alloca-1.c.wasm',
51 'bitfld-3.c.wasm', 33 'bitfld-3.c.wasm',
52 'bitfld-5.c.wasm', 34 'bitfld-5.c.wasm',
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 if len(run_failures) > 0: 219 if len(run_failures) > 0:
238 print() 220 print()
239 print("Run failures:") 221 print("Run failures:")
240 print("=============\n") 222 print("=============\n")
241 for f in run_failures: 223 for f in run_failures:
242 print(" \033[1;33m" + f + "\033[1;m") 224 print(" \033[1;33m" + f + "\033[1;m")
243 225
244 print("\n\033[1;32m{}\033[1;m / \033[1;33m{}\033[1;m / {} tests passed" 226 print("\n\033[1;32m{}\033[1;m / \033[1;33m{}\033[1;m / {} tests passed"
245 .format(run_count, compile_count - run_count, 227 .format(run_count, compile_count - run_count,
246 run_count + len(compile_failures) + len(run_failures))) 228 run_count + len(compile_failures) + len(run_failures)))
OLDNEW
« no previous file with comments | « fetch-torture-tests.sh ('k') | runtime/wasm-runtime.cpp » ('j') | runtime/wasm-runtime.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698