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

Unified Diff: crosstest/crosstest.py

Issue 333713004: Subzero: give crosstest .sz intermediate files names that depend on flags (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: add target too Created 6 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crosstest/crosstest.py
diff --git a/crosstest/crosstest.py b/crosstest/crosstest.py
index e83519367a4fe12336d1fc9061ee4795f0dec429..a37b10f7a76e0937f1360099eaebacc46144038d 100755
--- a/crosstest/crosstest.py
+++ b/crosstest/crosstest.py
@@ -82,8 +82,9 @@ if __name__ == '__main__':
f.write(line)
f.close()
- asm_sz = os.path.join(args.dir, base + '.sz.s')
- obj_sz = os.path.join(args.dir, base + '.sz.o')
+ base_sz = '%s.O%s.%s' % (base, args.optlevel, args.target)
+ asm_sz = os.path.join(args.dir, base_sz + '.sz.s')
+ obj_sz = os.path.join(args.dir, base_sz + '.sz.o')
obj_llc = os.path.join(args.dir, base + '.llc.o')
shellcmd(['../llvm2ice',
'-O' + args.optlevel,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698