diff options
| author | bors <bors@rust-lang.org> | 2014-04-07 11:26:37 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-04-07 11:26:37 -0700 |
| commit | 9a33330caaaedb9eef447ae862e9b87e3aa9880f (patch) | |
| tree | 9a7c30451cda73c0bd106e042d145ad31077968a /src/etc/maketest.py | |
| parent | 2db9700332cb7db6d26fab6d07a952f28c6b2256 (diff) | |
| parent | 2ecae80af210d6153cdf0fecb1ecd11fcc390c00 (diff) | |
| download | rust-9a33330caaaedb9eef447ae862e9b87e3aa9880f.tar.gz rust-9a33330caaaedb9eef447ae862e9b87e3aa9880f.zip | |
auto merge of #13288 : alexcrichton/rust/remove-check-fast, r=brson
Rebasing of #12304.
Diffstat (limited to 'src/etc/maketest.py')
| -rw-r--r-- | src/etc/maketest.py | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/src/etc/maketest.py b/src/etc/maketest.py index 8afe6cf987a..9e8bee3abb6 100644 --- a/src/etc/maketest.py +++ b/src/etc/maketest.py @@ -12,12 +12,18 @@ import subprocess import os import sys -os.putenv('RUSTC', os.path.abspath(sys.argv[2])) -os.putenv('TMPDIR', os.path.abspath(sys.argv[3])) -os.putenv('CC', sys.argv[4]) -os.putenv('RUSTDOC', os.path.abspath(sys.argv[5])) -filt = sys.argv[6] -ldpath = sys.argv[7] +# FIXME #12303 these tests are broken on windows +if os.name == 'nt': + print 'ignoring make tests on windows' + sys.exit(0) + +make = sys.argv[2] +os.putenv('RUSTC', os.path.abspath(sys.argv[3])) +os.putenv('TMPDIR', os.path.abspath(sys.argv[4])) +os.putenv('CC', sys.argv[5]) +os.putenv('RUSTDOC', os.path.abspath(sys.argv[6])) +filt = sys.argv[7] +ldpath = sys.argv[8] if ldpath != '': os.putenv(ldpath.split('=')[0], ldpath.split('=')[1]) @@ -25,7 +31,7 @@ if not filt in sys.argv[1]: sys.exit(0) print('maketest: ' + os.path.basename(os.path.dirname(sys.argv[1]))) -proc = subprocess.Popen(['make', '-C', sys.argv[1]], +proc = subprocess.Popen([make, '-C', sys.argv[1]], stdout = subprocess.PIPE, stderr = subprocess.PIPE) out, err = proc.communicate() |
