diff options
| author | Eli Schwartz <eschwartz@archlinux.org> | 2022-08-22 23:32:05 -0400 |
|---|---|---|
| committer | Xavier Claessens <xclaesse@gmail.com> | 2022-08-23 12:26:13 -0400 |
| commit | b7245d3f273dd6ddadc1fe2c2d06dbe25c1b9b5f (patch) | |
| tree | 345d14874b421ff4abb66b27d6863b9cf412f6d2 /test cases/common/26 find program | |
| parent | 75b8dc5c9ef548b4cc15483af5106b3e79dfd36e (diff) | |
| download | meson-b7245d3f273dd6ddadc1fe2c2d06dbe25c1b9b5f.tar.gz | |
tests: remove compiler requirement in various unneeded cases
Compiled languages are Meson's bread and butter, but hardly required.
This is convenient, because many test caases specifically, do not care
about testing the compiler interactions.
In such cases, we can skip doing compiler lookups which aren't used, as
they only slow down test setup.
Diffstat (limited to 'test cases/common/26 find program')
| -rw-r--r-- | test cases/common/26 find program/meson.build | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test cases/common/26 find program/meson.build b/test cases/common/26 find program/meson.build index a083d69a3..5d38d0b36 100644 --- a/test cases/common/26 find program/meson.build +++ b/test cases/common/26 find program/meson.build @@ -1,4 +1,4 @@ -project('find program', 'c') +project('find program') if build_machine.system() == 'windows' # Things Windows does not provide: @@ -15,6 +15,7 @@ else arguments : ['@INPUT@', '@OUTPUT@']) generated = gen.process('source.in') + add_languages('c', required: true) e = executable('prog', generated) test('external exe', e) endif |
