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

Unified Diff: pnacl/scripts/llvm-test.py

Issue 1026243002: Add Subzero to test scripts. (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Code review changes Created 5 years, 9 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 | « pnacl/driver/pnacl-translate.py ('k') | tests/minnacl/nacl.scons » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pnacl/scripts/llvm-test.py
diff --git a/pnacl/scripts/llvm-test.py b/pnacl/scripts/llvm-test.py
index ae7ad1b7ce1c533b3ce760c91c031197274ecd4c..40ae931be0134ba620a2810a3b6606dff93f402f 100755
--- a/pnacl/scripts/llvm-test.py
+++ b/pnacl/scripts/llvm-test.py
@@ -56,7 +56,7 @@ Specify the tests or test subsets in the options; common tests are
--llvm-regression and --testsuite-all.
The --opt arguments control the frontend/backend optimization flags.
-The default set is {O3f,O2b}, other options are {O0f,O0b}.
+The default set is {O3f,O2b}, other options are {O0f,O0b,O2b_sz,O0b_sz}.
"""
parser = optparse.OptionParser(usage=usage)
parser.add_option('--arch', dest='arch',
@@ -150,7 +150,12 @@ def ParseConfig(options):
O3f={'frontend_opt': '-O3', 'frontend_attr': 'O3f'},
O0b={'backend_opt': '-translate-fast',
'backend_attr': 'O0b'},
- O2b={'backend_opt': '-O2', 'backend_attr': 'O2b'})
+ O2b={'backend_opt': '-O2', 'backend_attr': 'O2b'},
+ O0b_sz={'backend_opt': '-translate-fast --use-sz',
+ 'backend_attr': 'O0b_sz'},
+ O2b_sz={'backend_opt': '-O2 --use-sz',
+ 'backend_attr': 'O2b_sz'},
+ )
result = {}
# Default is pnacl-clang -O3, pnacl-translate -O2
for attr in ['O3f', 'O2b'] + options.opt_attributes:
« no previous file with comments | « pnacl/driver/pnacl-translate.py ('k') | tests/minnacl/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698