unittests: Don't pass /nologo to `cl` during detection

This causes it to not output the version information to stderr, which
we need to extract the version and the architecture.

Found by Jussi.
pull/1374/head
Nirbheek Chauhan 8 years ago committed by Jussi Pakkanen
parent afdaedea01
commit a27b4c4640
  1. 2
      run_unittests.py

@ -1017,7 +1017,7 @@ class AllPlatformTests(BasePlatformTests):
# exelist + some argument. This is meant to test that setting
# something like `ccache gcc -pipe` or `distcc ccache gcc` works.
wrapper = os.path.join(testdir, 'compiler wrapper.py')
wrappercc = [sys.executable, wrapper] + cc.get_exelist() + cc.get_always_args()
wrappercc = [sys.executable, wrapper] + cc.get_exelist() + ['-DSOME_ARG']
wrappercc_s = ''
for w in wrappercc:
wrappercc_s += shlex.quote(w) + ' '

Loading…
Cancel
Save