diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2020-03-19 18:05:31 -0400 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2022-04-03 10:58:03 -0700 |
commit | 01a7aa0a4d7314e2e007f04baf9f06f6ae52a5ec (patch) | |
tree | 57f8dd83729eca523afef34d32686d720e0e1a5f /unittests | |
parent | 4dd6cb846900bf827c257f830d54d9fd0932743e (diff) | |
download | meson-01a7aa0a4d7314e2e007f04baf9f06f6ae52a5ec.zip meson-01a7aa0a4d7314e2e007f04baf9f06f6ae52a5ec.tar.gz meson-01a7aa0a4d7314e2e007f04baf9f06f6ae52a5ec.tar.bz2 |
Document and test env vars a bit better
Diffstat (limited to 'unittests')
-rw-r--r-- | unittests/linuxliketests.py | 6 |
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 |