aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2024-04-25 12:18:48 -0700
committerDylan Baker <dylan@pnwbakers.com>2024-04-25 19:16:18 -0700
commite4d2aac988925d1f7b8eae762ec24f6af63569df (patch)
treead32f5b7d541993fd0e3737932684b2df126ec78
parentd22bb528c56c22c1a0c0855ff221f3a9594d1964 (diff)
downloadmeson-e4d2aac988925d1f7b8eae762ec24f6af63569df.zip
meson-e4d2aac988925d1f7b8eae762ec24f6af63569df.tar.gz
meson-e4d2aac988925d1f7b8eae762ec24f6af63569df.tar.bz2
tests/d/10: Fix condition with clang++ and gdc
Which just checked for clang++ and aborted, instead of for the combination it claimed.
-rw-r--r--test cases/d/10 d cpp/meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/test cases/d/10 d cpp/meson.build b/test cases/d/10 d cpp/meson.build
index eecb151..fd6b63b 100644
--- a/test cases/d/10 d cpp/meson.build
+++ b/test cases/d/10 d cpp/meson.build
@@ -1,8 +1,9 @@
project('d and c++', 'd', 'cpp')
cpp = meson.get_compiler('cpp')
+dc = meson.get_compiler('d')
-if cpp.get_id() == 'clang'
+if cpp.get_id() == 'clang' and dc.get_id() == 'gcc'
error('MESON_SKIP_TEST combining Clang C++ with GDC produces broken executables.')
endif