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

Unified Diff: tools/test-wrapper-gypbuild.py

Issue 7606025: Support OUTDIR variable for tests triggered by Makefile (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 4 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 | « tools/test.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/test-wrapper-gypbuild.py
diff --git a/tools/test-wrapper-gypbuild.py b/tools/test-wrapper-gypbuild.py
index 28035730c86f7678f998ac170638e140502ec8ac..efd1c1dc34c5811f9cbe19e24cd982c2284ef00e 100755
--- a/tools/test-wrapper-gypbuild.py
+++ b/tools/test-wrapper-gypbuild.py
@@ -50,6 +50,9 @@ def BuildOptions():
result.add_option("--arch-and-mode",
help='Architecture and mode in the format "arch.mode"',
default=None)
+ result.add_option("--outdir",
+ help='Base output directory',
+ default='out')
# Flags this wrapper script handles itself:
result.add_option("-m", "--mode",
@@ -208,7 +211,7 @@ def Main():
for mode in options.mode:
for arch in options.arch:
print ">>> running tests for %s.%s" % (arch, mode)
- shell = workspace + '/out/' + arch + '.' + mode + "/shell"
+ shell = workspace + '/' + options.outdir + '/' + arch + '.' + mode + "/d8"
child = subprocess.Popen(' '.join(args_for_children +
['--mode=' + mode] +
['--shell=' + shell]),
« no previous file with comments | « tools/test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698