diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2019-02-26 02:09:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-26 02:09:57 +0200 |
commit | 92f95b3326579944ebfe6b49ee7ffd1e57400601 (patch) | |
tree | 1e8b5b06a8ba62888eb0dd678b7d4d6a9fd9b5aa /run_project_tests.py | |
parent | 06e939bcbb5f2fe9391665dd427f12cea8d38bd5 (diff) | |
parent | 9acbd6278959ddf1f4c92d5d7fd87e47d2c27c20 (diff) | |
download | meson-92f95b3326579944ebfe6b49ee7ffd1e57400601.zip meson-92f95b3326579944ebfe6b49ee7ffd1e57400601.tar.gz meson-92f95b3326579944ebfe6b49ee7ffd1e57400601.tar.bz2 |
Merge pull request #4982 from mesonbuild/dmddebug
Hack to get failure output from CI.
Diffstat (limited to 'run_project_tests.py')
-rwxr-xr-x | run_project_tests.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/run_project_tests.py b/run_project_tests.py index c35928f..030cd51 100755 --- a/run_project_tests.py +++ b/run_project_tests.py @@ -440,6 +440,14 @@ def have_d_compiler(): elif shutil.which("gdc"): return True elif shutil.which("dmd"): + # The Windows installer sometimes produces a DMD install + # that exists but segfaults every time the compiler is run. + # Don't know why. Don't know how to fix. Skip in this case. + cp = subprocess.run(['dmd', '--version'], + stdout=subprocess.PIPE, + stderr=subprocess.PIPE) + if cp.stdout == b'': + return False return True return False |