aboutsummaryrefslogtreecommitdiff
path: root/unittests/linuxliketests.py
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/linuxliketests.py')
-rw-r--r--unittests/linuxliketests.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/unittests/linuxliketests.py b/unittests/linuxliketests.py
index a942df1..406950e 100644
--- a/unittests/linuxliketests.py
+++ b/unittests/linuxliketests.py
@@ -1545,12 +1545,10 @@ class LinuxlikeTests(BasePlatformTests):
testdir = os.path.join(self.unit_test_dir, '60 identity cross')
env = {
'CC_FOR_BUILD': '"' + os.path.join(testdir, 'build_wrapper.py') + '"',
+ 'CC': '"' + os.path.join(testdir, 'host_wrapper.py') + '"',
}
crossfile = tempfile.NamedTemporaryFile(mode='w')
- crossfile.write(textwrap.dedent('''\
- [binaries]
- c = ['{}']
- '''.format(os.path.join(testdir, 'host_wrapper.py'))))
+ crossfile.write('')
crossfile.flush()
self.meson_cross_files = [crossfile.name]
# TODO should someday be explicit about build platform only here