summaryrefslogtreecommitdiff
path: root/unittests/allplatformstests.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2022-02-09 02:11:30 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2022-02-09 02:11:30 +0200
commitf11c643a82a911f8e9419557dae5d80af9aa3f92 (patch)
treeba6f22ae2342d3888fa1168759c5078f8c916ac2 /unittests/allplatformstests.py
parentd082204096afd51730f44a75bd02423f74c2e5ae (diff)
downloadmeson-crossenvvar.tar.gz
Properly error out when cross file is missing a compiler.crossenvvar
Diffstat (limited to 'unittests/allplatformstests.py')
-rw-r--r--unittests/allplatformstests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/unittests/allplatformstests.py b/unittests/allplatformstests.py
index 60ff12314..6f722c76d 100644
--- a/unittests/allplatformstests.py
+++ b/unittests/allplatformstests.py
@@ -3597,6 +3597,8 @@ class AllPlatformTests(BasePlatformTests):
machinefile = os.path.join(self.builddir, 'machine.txt')
with open(machinefile, 'w', encoding='utf-8') as f:
f.write(textwrap.dedent('''
+ [binaries]
+ c = 'cc'
[properties]
c_stdlib = 'mylibc'
'''))