summaryrefslogtreecommitdiff
path: root/test cases/common
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-08-22 23:32:05 -0400
committerXavier Claessens <xclaesse@gmail.com>2022-08-23 12:26:13 -0400
commitb7245d3f273dd6ddadc1fe2c2d06dbe25c1b9b5f (patch)
tree345d14874b421ff4abb66b27d6863b9cf412f6d2 /test cases/common
parent75b8dc5c9ef548b4cc15483af5106b3e79dfd36e (diff)
downloadmeson-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')
-rw-r--r--test cases/common/10 man install/meson.build2
-rw-r--r--test cases/common/101 testframework options/meson.build2
-rw-r--r--test cases/common/106 multiple dir configure file/meson.build2
-rw-r--r--test cases/common/108 ternary/meson.build2
-rw-r--r--test cases/common/109 custom target capture/meson.build2
-rw-r--r--test cases/common/111 pathjoin/meson.build2
-rw-r--r--test cases/common/113 interpreter copy mutable var on assignment/meson.build2
-rw-r--r--test cases/common/114 skip/meson.build2
-rw-r--r--test cases/common/12 data/meson.build2
-rw-r--r--test cases/common/123 custom target directory install/meson.build2
-rw-r--r--test cases/common/136 empty build file/meson.build2
-rw-r--r--test cases/common/139 mesonintrospect from scripts/meson.build2
-rw-r--r--test cases/common/140 custom target multiple outputs/meson.build2
-rw-r--r--test cases/common/143 list of file sources/meson.build2
-rw-r--r--test cases/common/162 subdir if_found/meson.build2
-rw-r--r--test cases/common/163 default options prefix dependent defaults/meson.build2
-rw-r--r--test cases/common/166 yield/meson.build2
-rw-r--r--test cases/common/166 yield/subprojects/sub/meson.build2
-rw-r--r--test cases/common/176 subproject version/meson.build2
-rw-r--r--test cases/common/176 subproject version/subprojects/a/meson.build2
-rw-r--r--test cases/common/177 subdir_done/meson.build2
-rw-r--r--test cases/common/191 subproject array version/meson.build2
-rw-r--r--test cases/common/191 subproject array version/subprojects/foo/meson.build2
-rw-r--r--test cases/common/193 feature option disabled/meson.build2
-rw-r--r--test cases/common/202 custom target build by default/meson.build2
-rw-r--r--test cases/common/217 test priorities/meson.build2
-rw-r--r--test cases/common/232 dependency allow_fallback/meson.build2
-rw-r--r--test cases/common/237 fstrings/meson.build2
-rw-r--r--test cases/common/238 dependency include_type inconsistency/meson.build2
-rw-r--r--test cases/common/238 dependency include_type inconsistency/subprojects/baz/meson.build2
-rw-r--r--test cases/common/238 dependency include_type inconsistency/subprojects/foo/meson.build2
-rw-r--r--test cases/common/239 includedir violation/meson.build2
-rw-r--r--test cases/common/239 includedir violation/subprojects/sub/meson.build2
-rw-r--r--test cases/common/240 dependency native host == build/meson.build2
-rw-r--r--test cases/common/242 custom target feed/meson.build2
-rw-r--r--test cases/common/246 dependency fallbacks/meson.build2
-rw-r--r--test cases/common/26 find program/meson.build3
-rw-r--r--test cases/common/34 logic ops/meson.build2
-rw-r--r--test cases/common/35 string operations/meson.build2
-rw-r--r--test cases/common/43 subproject options/meson.build2
-rw-r--r--test cases/common/43 subproject options/subprojects/subproject/meson.build2
-rw-r--r--test cases/common/49 custom target/meson.build2
-rw-r--r--test cases/common/56 array methods/meson.build2
-rw-r--r--test cases/common/59 install subdir/meson.build2
-rw-r--r--test cases/common/61 number arithmetic/meson.build2
-rw-r--r--test cases/common/62 string arithmetic/meson.build2
-rw-r--r--test cases/common/63 array arithmetic/meson.build2
-rw-r--r--test cases/common/64 arithmetic bidmas/meson.build2
-rw-r--r--test cases/common/67 modules/meson.build2
-rw-r--r--test cases/common/69 configure file in custom target/meson.build2
-rw-r--r--test cases/common/70 external test program/meson.build2
-rw-r--r--test cases/common/71 ctarget dependency/meson.build2
-rw-r--r--test cases/common/84 plusassign/meson.build2
-rw-r--r--test cases/common/85 skip subdir/meson.build2
-rw-r--r--test cases/common/97 find program path/meson.build2
55 files changed, 56 insertions, 55 deletions
diff --git a/test cases/common/10 man install/meson.build b/test cases/common/10 man install/meson.build
index 05c52782e..d0f3be880 100644
--- a/test cases/common/10 man install/meson.build
+++ b/test cases/common/10 man install/meson.build
@@ -1,4 +1,4 @@
-project('man install', 'c')
+project('man install')
m1 = install_man('foo.1')
m2 = install_man('bar.2')
m3 = install_man('foo.fr.1', locale: 'fr')
diff --git a/test cases/common/101 testframework options/meson.build b/test cases/common/101 testframework options/meson.build
index 827bae76a..4621b3050 100644
--- a/test cases/common/101 testframework options/meson.build
+++ b/test cases/common/101 testframework options/meson.build
@@ -1,7 +1,7 @@
# normally run only from run_tests.py or run_project_tests.py
# else do like
# meson build '-Dtestoption=A string with spaces' -Dother_one=true -Dcombo_opt=one -Dprefix=/usr -Dlibdir=lib -Dbackend=ninja -Dwerror=True
-project('options', 'c')
+project('options')
assert(get_option('testoption') == 'A string with spaces', 'Incorrect value for testoption option.')
assert(get_option('other_one') == true, 'Incorrect value for other_one option.')
diff --git a/test cases/common/106 multiple dir configure file/meson.build b/test cases/common/106 multiple dir configure file/meson.build
index a4615fae8..18408fb25 100644
--- a/test cases/common/106 multiple dir configure file/meson.build
+++ b/test cases/common/106 multiple dir configure file/meson.build
@@ -1,4 +1,4 @@
-project('multiple dir configure file', 'c')
+project('multiple dir configure file')
subdir('subdir')
diff --git a/test cases/common/108 ternary/meson.build b/test cases/common/108 ternary/meson.build
index 7539d569f..0073a1e4c 100644
--- a/test cases/common/108 ternary/meson.build
+++ b/test cases/common/108 ternary/meson.build
@@ -1,4 +1,4 @@
-project('ternary operator', 'c')
+project('ternary operator')
x = true
one = true ? 1 : error('False branch should not be evaluated')
diff --git a/test cases/common/109 custom target capture/meson.build b/test cases/common/109 custom target capture/meson.build
index 58a69cacc..b7622014a 100644
--- a/test cases/common/109 custom target capture/meson.build
+++ b/test cases/common/109 custom target capture/meson.build
@@ -1,4 +1,4 @@
-project('custom target', 'c')
+project('custom target')
python3 = import('python3').find_python()
diff --git a/test cases/common/111 pathjoin/meson.build b/test cases/common/111 pathjoin/meson.build
index 1c339dd30..64aa338c0 100644
--- a/test cases/common/111 pathjoin/meson.build
+++ b/test cases/common/111 pathjoin/meson.build
@@ -1,4 +1,4 @@
-project('pathjoin', 'c')
+project('pathjoin')
# Test string-args form since that is the canonical way
assert(join_paths('foo') == 'foo', 'Single argument join is broken')
diff --git a/test cases/common/113 interpreter copy mutable var on assignment/meson.build b/test cases/common/113 interpreter copy mutable var on assignment/meson.build
index b54fec9f0..d414bfc74 100644
--- a/test cases/common/113 interpreter copy mutable var on assignment/meson.build
+++ b/test cases/common/113 interpreter copy mutable var on assignment/meson.build
@@ -1,4 +1,4 @@
-project('foo', 'c')
+project('foo')
a = configuration_data()
a.set('HELLO', 1)
diff --git a/test cases/common/114 skip/meson.build b/test cases/common/114 skip/meson.build
index 16e29c90e..ead955fde 100644
--- a/test cases/common/114 skip/meson.build
+++ b/test cases/common/114 skip/meson.build
@@ -1,3 +1,3 @@
-project('skip', 'c')
+project('skip')
error('MESON_SKIP_TEST this test is always skipped.')
diff --git a/test cases/common/12 data/meson.build b/test cases/common/12 data/meson.build
index b5b1e8a62..d318633b3 100644
--- a/test cases/common/12 data/meson.build
+++ b/test cases/common/12 data/meson.build
@@ -1,4 +1,4 @@
-project('data install test', 'c',
+project('data install test',
default_options : ['install_umask=preserve'])
install_data(sources : 'datafile.dat', install_dir : 'share/progname')
# Some file in /etc that is only read-write by root; add a sticky bit for testing
diff --git a/test cases/common/123 custom target directory install/meson.build b/test cases/common/123 custom target directory install/meson.build
index ada9ae119..c3bfa2052 100644
--- a/test cases/common/123 custom target directory install/meson.build
+++ b/test cases/common/123 custom target directory install/meson.build
@@ -1,4 +1,4 @@
-project('custom-target-dir-install', 'c')
+project('custom-target-dir-install')
docgen = find_program('docgen.py')
diff --git a/test cases/common/136 empty build file/meson.build b/test cases/common/136 empty build file/meson.build
index 73d03974f..807c401f7 100644
--- a/test cases/common/136 empty build file/meson.build
+++ b/test cases/common/136 empty build file/meson.build
@@ -1,2 +1,2 @@
-project('subdir with empty meson.build test', 'c')
+project('subdir with empty meson.build test')
subdir('subdir')
diff --git a/test cases/common/139 mesonintrospect from scripts/meson.build b/test cases/common/139 mesonintrospect from scripts/meson.build
index a83b533e2..7db4be4ef 100644
--- a/test cases/common/139 mesonintrospect from scripts/meson.build
+++ b/test cases/common/139 mesonintrospect from scripts/meson.build
@@ -1,4 +1,4 @@
-project('mesonintrospect from scripts', 'c')
+project('mesonintrospect from scripts')
python = import('python3').find_python()
diff --git a/test cases/common/140 custom target multiple outputs/meson.build b/test cases/common/140 custom target multiple outputs/meson.build
index 30305056b..abc572813 100644
--- a/test cases/common/140 custom target multiple outputs/meson.build
+++ b/test cases/common/140 custom target multiple outputs/meson.build
@@ -1,4 +1,4 @@
-project('multiple outputs install', 'c')
+project('multiple outputs install')
gen = find_program('generator.py')
diff --git a/test cases/common/143 list of file sources/meson.build b/test cases/common/143 list of file sources/meson.build
index 819509dd6..40c1b8c95 100644
--- a/test cases/common/143 list of file sources/meson.build
+++ b/test cases/common/143 list of file sources/meson.build
@@ -1,4 +1,4 @@
-project('test', 'c')
+project('test')
mod_py = import('python3')
python = mod_py.find_python()
diff --git a/test cases/common/162 subdir if_found/meson.build b/test cases/common/162 subdir if_found/meson.build
index 2c640cfad..05be94fba 100644
--- a/test cases/common/162 subdir if_found/meson.build
+++ b/test cases/common/162 subdir if_found/meson.build
@@ -1,4 +1,4 @@
-project('subdir if found', 'c')
+project('subdir if found')
found_dep = declare_dependency()
not_found_dep = dependency('nonexisting', required : false)
diff --git a/test cases/common/163 default options prefix dependent defaults/meson.build b/test cases/common/163 default options prefix dependent defaults/meson.build
index 9ca4ec552..ee8019215 100644
--- a/test cases/common/163 default options prefix dependent defaults/meson.build
+++ b/test cases/common/163 default options prefix dependent defaults/meson.build
@@ -1 +1 @@
-project('default options prefix dependent defaults ', 'c', default_options : ['sharedstatedir=/sharedstate', 'prefix=/usr'])
+project('default options prefix dependent defaults ', default_options : ['sharedstatedir=/sharedstate', 'prefix=/usr'])
diff --git a/test cases/common/166 yield/meson.build b/test cases/common/166 yield/meson.build
index 9b115696f..e8f210682 100644
--- a/test cases/common/166 yield/meson.build
+++ b/test cases/common/166 yield/meson.build
@@ -1,4 +1,4 @@
-project('yield_options', 'c')
+project('yield_options')
subproject('sub')
diff --git a/test cases/common/166 yield/subprojects/sub/meson.build b/test cases/common/166 yield/subprojects/sub/meson.build
index 832c13cc2..1c29d8651 100644
--- a/test cases/common/166 yield/subprojects/sub/meson.build
+++ b/test cases/common/166 yield/subprojects/sub/meson.build
@@ -1,4 +1,4 @@
-project('subbie', 'c')
+project('subbie')
assert(get_option('unshared_option') == 'three', 'Unshared option has wrong value in subproject.')
assert(get_option('shared_option') == 'two', 'Shared option has wrong value in subproject.')
diff --git a/test cases/common/176 subproject version/meson.build b/test cases/common/176 subproject version/meson.build
index 071466db7..b98f0cbd5 100644
--- a/test cases/common/176 subproject version/meson.build
+++ b/test cases/common/176 subproject version/meson.build
@@ -1,4 +1,4 @@
-project('subproject version', 'c',
+project('subproject version',
version : '2.3.4',
license: 'mylicense')
diff --git a/test cases/common/176 subproject version/subprojects/a/meson.build b/test cases/common/176 subproject version/subprojects/a/meson.build
index dae31300f..aeb85afdb 100644
--- a/test cases/common/176 subproject version/subprojects/a/meson.build
+++ b/test cases/common/176 subproject version/subprojects/a/meson.build
@@ -1,4 +1,4 @@
-project('mysubproject', 'c',
+project('mysubproject',
version : '1.0.0',
license : 'sublicense')
diff --git a/test cases/common/177 subdir_done/meson.build b/test cases/common/177 subdir_done/meson.build
index 1ed697777..62346a224 100644
--- a/test cases/common/177 subdir_done/meson.build
+++ b/test cases/common/177 subdir_done/meson.build
@@ -1,7 +1,7 @@
# Should run, even though main.cpp does not exist and we call error in the last line.
# subdir_done jumps to end, so both lines are not executed.
-project('example exit', 'cpp')
+project('example exit')
if true
subdir_done()
diff --git a/test cases/common/191 subproject array version/meson.build b/test cases/common/191 subproject array version/meson.build
index 0870bc498..4e5aebf5a 100644
--- a/test cases/common/191 subproject array version/meson.build
+++ b/test cases/common/191 subproject array version/meson.build
@@ -1,3 +1,3 @@
-project('master', 'c')
+project('master')
x = subproject('foo', version : ['>=1.0.0', '<2.0'])
diff --git a/test cases/common/191 subproject array version/subprojects/foo/meson.build b/test cases/common/191 subproject array version/subprojects/foo/meson.build
index f4ff53548..615ee92bd 100644
--- a/test cases/common/191 subproject array version/subprojects/foo/meson.build
+++ b/test cases/common/191 subproject array version/subprojects/foo/meson.build
@@ -1 +1 @@
-project('foo', 'c', version : '1.0.0')
+project('foo', version : '1.0.0')
diff --git a/test cases/common/193 feature option disabled/meson.build b/test cases/common/193 feature option disabled/meson.build
index 1a831872a..65d4d7130 100644
--- a/test cases/common/193 feature option disabled/meson.build
+++ b/test cases/common/193 feature option disabled/meson.build
@@ -1,4 +1,4 @@
-project('feature user option', 'c',
+project('feature user option',
default_options : ['auto_features=disabled'])
feature_opts = get_option('auto_features')
diff --git a/test cases/common/202 custom target build by default/meson.build b/test cases/common/202 custom target build by default/meson.build
index 7c81aa254..53f0fe6e9 100644
--- a/test cases/common/202 custom target build by default/meson.build
+++ b/test cases/common/202 custom target build by default/meson.build
@@ -1,4 +1,4 @@
-project('custom-target-dir-install', 'c')
+project('custom-target-dir-install')
docgen = find_program('docgen.py')
diff --git a/test cases/common/217 test priorities/meson.build b/test cases/common/217 test priorities/meson.build
index 33c6fa382..159d56f79 100644
--- a/test cases/common/217 test priorities/meson.build
+++ b/test cases/common/217 test priorities/meson.build
@@ -1,4 +1,4 @@
-project('test priorities', 'c')
+project('test priorities')
test_prog = find_program('testprog.py')
diff --git a/test cases/common/232 dependency allow_fallback/meson.build b/test cases/common/232 dependency allow_fallback/meson.build
index b189faf12..32d225f45 100644
--- a/test cases/common/232 dependency allow_fallback/meson.build
+++ b/test cases/common/232 dependency allow_fallback/meson.build
@@ -1,4 +1,4 @@
-project('subproject fallback', 'c')
+project('subproject fallback')
foob_dep = dependency('foob', allow_fallback: true, required: false)
assert(foob_dep.found())
diff --git a/test cases/common/237 fstrings/meson.build b/test cases/common/237 fstrings/meson.build
index 2db2649b5..d686f6b29 100644
--- a/test cases/common/237 fstrings/meson.build
+++ b/test cases/common/237 fstrings/meson.build
@@ -1,4 +1,4 @@
-project('meson-test', 'c')
+project('meson-test')
n = 10
m = 'bar'
diff --git a/test cases/common/238 dependency include_type inconsistency/meson.build b/test cases/common/238 dependency include_type inconsistency/meson.build
index 7f28e25b9..69b5d19ca 100644
--- a/test cases/common/238 dependency include_type inconsistency/meson.build
+++ b/test cases/common/238 dependency include_type inconsistency/meson.build
@@ -1,4 +1,4 @@
-project('test', 'c', 'cpp')
+project('test')
foo_dep = subproject('foo').get_variable('foo_dep')
diff --git a/test cases/common/238 dependency include_type inconsistency/subprojects/baz/meson.build b/test cases/common/238 dependency include_type inconsistency/subprojects/baz/meson.build
index a6a37750e..4f454e6c3 100644
--- a/test cases/common/238 dependency include_type inconsistency/subprojects/baz/meson.build
+++ b/test cases/common/238 dependency include_type inconsistency/subprojects/baz/meson.build
@@ -1,3 +1,3 @@
-project('baz', 'cpp')
+project('baz')
baz_dep = declare_dependency()
diff --git a/test cases/common/238 dependency include_type inconsistency/subprojects/foo/meson.build b/test cases/common/238 dependency include_type inconsistency/subprojects/foo/meson.build
index 51d950346..1ed7011bd 100644
--- a/test cases/common/238 dependency include_type inconsistency/subprojects/foo/meson.build
+++ b/test cases/common/238 dependency include_type inconsistency/subprojects/foo/meson.build
@@ -1,4 +1,4 @@
-project('foo', 'c', 'cpp')
+project('foo')
baz_dep = dependency('baz',
fallback: ['baz', 'baz_dep'],
diff --git a/test cases/common/239 includedir violation/meson.build b/test cases/common/239 includedir violation/meson.build
index 0216be6ef..b84fdf25a 100644
--- a/test cases/common/239 includedir violation/meson.build
+++ b/test cases/common/239 includedir violation/meson.build
@@ -1,4 +1,4 @@
-project('foo', 'c')
+project('foo')
# It is fine to include the root source dir
include_directories('.')
diff --git a/test cases/common/239 includedir violation/subprojects/sub/meson.build b/test cases/common/239 includedir violation/subprojects/sub/meson.build
index 352f4a261..06f45d61b 100644
--- a/test cases/common/239 includedir violation/subprojects/sub/meson.build
+++ b/test cases/common/239 includedir violation/subprojects/sub/meson.build
@@ -1,3 +1,3 @@
-project('subproj', 'c')
+project('subproj')
include_directories('.')
diff --git a/test cases/common/240 dependency native host == build/meson.build b/test cases/common/240 dependency native host == build/meson.build
index bdcd93cef..347b1f6f9 100644
--- a/test cases/common/240 dependency native host == build/meson.build
+++ b/test cases/common/240 dependency native host == build/meson.build
@@ -1,4 +1,4 @@
-project('foo', 'c')
+project('foo')
if meson.is_cross_build()
error('MESON_SKIP_TEST Test does not make sense for cross builds')
diff --git a/test cases/common/242 custom target feed/meson.build b/test cases/common/242 custom target feed/meson.build
index 1cda37d75..73351ae45 100644
--- a/test cases/common/242 custom target feed/meson.build
+++ b/test cases/common/242 custom target feed/meson.build
@@ -1,4 +1,4 @@
-project('custom target feed', 'c')
+project('custom target feed')
python3 = import('python3').find_python()
diff --git a/test cases/common/246 dependency fallbacks/meson.build b/test cases/common/246 dependency fallbacks/meson.build
index aaabaaa0a..b418088cb 100644
--- a/test cases/common/246 dependency fallbacks/meson.build
+++ b/test cases/common/246 dependency fallbacks/meson.build
@@ -1,4 +1,4 @@
-project('dependency fallbacks', 'c')
+project('dependency fallbacks')
# pkg-config has 'libpng' but cmake has 'png' and we have a 'png' subproject
# for platforms that have neither.
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
diff --git a/test cases/common/34 logic ops/meson.build b/test cases/common/34 logic ops/meson.build
index 897054e74..656fd18e2 100644
--- a/test cases/common/34 logic ops/meson.build
+++ b/test cases/common/34 logic ops/meson.build
@@ -1,4 +1,4 @@
-project('logicopts', 'c')
+project('logicopts')
t = true
f = false
diff --git a/test cases/common/35 string operations/meson.build b/test cases/common/35 string operations/meson.build
index 2ba70b6e1..116fe0b2b 100644
--- a/test cases/common/35 string operations/meson.build
+++ b/test cases/common/35 string operations/meson.build
@@ -1,4 +1,4 @@
-project('string formatting', 'c')
+project('string formatting')
templ = '@0@bar@1@'
diff --git a/test cases/common/43 subproject options/meson.build b/test cases/common/43 subproject options/meson.build
index d4598b639..a90527294 100644
--- a/test cases/common/43 subproject options/meson.build
+++ b/test cases/common/43 subproject options/meson.build
@@ -1,4 +1,4 @@
-project('suboptions', 'c')
+project('suboptions')
subproject('subproject')
diff --git a/test cases/common/43 subproject options/subprojects/subproject/meson.build b/test cases/common/43 subproject options/subprojects/subproject/meson.build
index 5000b8643..d00a024ea 100644
--- a/test cases/common/43 subproject options/subprojects/subproject/meson.build
+++ b/test cases/common/43 subproject options/subprojects/subproject/meson.build
@@ -1,4 +1,4 @@
-project('subproject', 'c')
+project('subproject')
if get_option('opt')
error('option set when it should be unset.')
diff --git a/test cases/common/49 custom target/meson.build b/test cases/common/49 custom target/meson.build
index 8e3c9c647..a51e526f6 100644
--- a/test cases/common/49 custom target/meson.build
+++ b/test cases/common/49 custom target/meson.build
@@ -1,4 +1,4 @@
-project('custom target', 'c')
+project('custom target')
python = find_program('python3', required : false)
if not python.found()
diff --git a/test cases/common/56 array methods/meson.build b/test cases/common/56 array methods/meson.build
index 82a51f1fc..d323db8b2 100644
--- a/test cases/common/56 array methods/meson.build
+++ b/test cases/common/56 array methods/meson.build
@@ -1,4 +1,4 @@
-project('array methods', 'c')
+project('array methods')
empty = []
one = ['abc']
diff --git a/test cases/common/59 install subdir/meson.build b/test cases/common/59 install subdir/meson.build
index 59f3b4dc5..13d41bedf 100644
--- a/test cases/common/59 install subdir/meson.build
+++ b/test cases/common/59 install subdir/meson.build
@@ -1,4 +1,4 @@
-project('install a whole subdir', 'c',
+project('install a whole subdir',
default_options : ['install_umask=preserve'])
# A subdir with an exclusion:
diff --git a/test cases/common/61 number arithmetic/meson.build b/test cases/common/61 number arithmetic/meson.build
index e31d7e4e9..f8ab81bec 100644
--- a/test cases/common/61 number arithmetic/meson.build
+++ b/test cases/common/61 number arithmetic/meson.build
@@ -1,4 +1,4 @@
-project('number arithmetic', 'c')
+project('number arithmetic')
if 6 + 4 != 10
error('Number addition is broken')
diff --git a/test cases/common/62 string arithmetic/meson.build b/test cases/common/62 string arithmetic/meson.build
index 194df0d9a..e5f977385 100644
--- a/test cases/common/62 string arithmetic/meson.build
+++ b/test cases/common/62 string arithmetic/meson.build
@@ -1,4 +1,4 @@
-project('string arithmetic', 'c', meson_version: '>=0.62.0')
+project('string arithmetic', meson_version: '>=0.62.0')
assert('foo' + 'bar' == 'foobar')
assert('foo' + 'bar' + 'baz' == 'foobarbaz')
diff --git a/test cases/common/63 array arithmetic/meson.build b/test cases/common/63 array arithmetic/meson.build
index 8b8785afc..7d5f54f01 100644
--- a/test cases/common/63 array arithmetic/meson.build
+++ b/test cases/common/63 array arithmetic/meson.build
@@ -1,4 +1,4 @@
-project('array arithmetic', 'c')
+project('array arithmetic')
array1 = ['foo', 'bar']
array2 = ['qux', 'baz']
diff --git a/test cases/common/64 arithmetic bidmas/meson.build b/test cases/common/64 arithmetic bidmas/meson.build
index c7334b48f..548294b58 100644
--- a/test cases/common/64 arithmetic bidmas/meson.build
+++ b/test cases/common/64 arithmetic bidmas/meson.build
@@ -1,4 +1,4 @@
-project('arithmetic bidmas', 'c')
+project('arithmetic bidmas')
if 5 * 3 - 6 / 2 + 1 != 13
error('Arithmetic bidmas broken')
diff --git a/test cases/common/67 modules/meson.build b/test cases/common/67 modules/meson.build
index ad33ed6d4..1cb42c4e7 100644
--- a/test cases/common/67 modules/meson.build
+++ b/test cases/common/67 modules/meson.build
@@ -1,4 +1,4 @@
-project('module test', 'c')
+project('module test')
modtest = import('modtest')
modtest.print_hello()
diff --git a/test cases/common/69 configure file in custom target/meson.build b/test cases/common/69 configure file in custom target/meson.build
index 0a850a1a6..562013dc9 100644
--- a/test cases/common/69 configure file in custom target/meson.build
+++ b/test cases/common/69 configure file in custom target/meson.build
@@ -1,4 +1,4 @@
-project('conf file in custom target', 'c')
+project('conf file in custom target')
subdir('inc')
subdir('src')
diff --git a/test cases/common/70 external test program/meson.build b/test cases/common/70 external test program/meson.build
index d18ddcde5..811f49773 100644
--- a/test cases/common/70 external test program/meson.build
+++ b/test cases/common/70 external test program/meson.build
@@ -1,3 +1,3 @@
-project('test is external', 'c')
+project('test is external')
test('external', find_program('mytest.py'), args : ['correct'])
diff --git a/test cases/common/71 ctarget dependency/meson.build b/test cases/common/71 ctarget dependency/meson.build
index cd11951b2..40f7398fb 100644
--- a/test cases/common/71 ctarget dependency/meson.build
+++ b/test cases/common/71 ctarget dependency/meson.build
@@ -1,4 +1,4 @@
-project('custom target dependency', 'c')
+project('custom target dependency')
# Sometimes custom targets do not take input files
# but instead do globbing or some similar wackiness.
diff --git a/test cases/common/84 plusassign/meson.build b/test cases/common/84 plusassign/meson.build
index ac477e740..b419c6df6 100644
--- a/test cases/common/84 plusassign/meson.build
+++ b/test cases/common/84 plusassign/meson.build
@@ -1,4 +1,4 @@
-project('plusassign', 'c')
+project('plusassign')
x = []
diff --git a/test cases/common/85 skip subdir/meson.build b/test cases/common/85 skip subdir/meson.build
index 30ede0ea2..e50303875 100644
--- a/test cases/common/85 skip subdir/meson.build
+++ b/test cases/common/85 skip subdir/meson.build
@@ -1,3 +1,3 @@
-project('foo', 'c')
+project('foo')
subdir('subdir1/subdir2')
diff --git a/test cases/common/97 find program path/meson.build b/test cases/common/97 find program path/meson.build
index edb649363..23cf95695 100644
--- a/test cases/common/97 find program path/meson.build
+++ b/test cases/common/97 find program path/meson.build
@@ -1,4 +1,4 @@
-project('find program', 'c')
+project('find program')
python = import('python3').find_python()