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]), |