diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2020-03-23 18:07:24 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-03-23 18:07:24 +0200 |
commit | 7924e5f9c20017a0ad7df6ee1cdb540d8a98dff7 (patch) | |
tree | 8f0637e630777cc4a5707c16a30c4d980b888371 /run_unittests.py | |
parent | 097dfc085e6a1bb3c670880134a52dcfca504be7 (diff) | |
download | meson-7924e5f9c20017a0ad7df6ee1cdb540d8a98dff7.zip meson-7924e5f9c20017a0ad7df6ee1cdb540d8a98dff7.tar.gz meson-7924e5f9c20017a0ad7df6ee1cdb540d8a98dff7.tar.bz2 |
Revert "Naturally use env vars a bit more to match Autoconf"
This reverts commit 097dfc085e6a1bb3c670880134a52dcfca504be7.
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-x | run_unittests.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/run_unittests.py b/run_unittests.py index 4ae1728..d1c10f5 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -6338,10 +6338,11 @@ c = ['{0}'] testdir = os.path.join(self.unit_test_dir, '61 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('') + crossfile.write('''[binaries] +c = ['{0}'] +'''.format(os.path.join(testdir, 'host_wrapper.py'))) crossfile.flush() self.meson_cross_file = crossfile.name # TODO should someday be explicit about build platform only here |