aboutsummaryrefslogtreecommitdiff
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
parent75b8dc5c9ef548b4cc15483af5106b3e79dfd36e (diff)
downloadmeson-b7245d3f273dd6ddadc1fe2c2d06dbe25c1b9b5f.zip
meson-b7245d3f273dd6ddadc1fe2c2d06dbe25c1b9b5f.tar.gz
meson-b7245d3f273dd6ddadc1fe2c2d06dbe25c1b9b5f.tar.bz2
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.
-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
-rw-r--r--test cases/failing/10 out of bounds/meson.build2
-rw-r--r--test cases/failing/104 no fallback/meson.build2
-rw-r--r--test cases/failing/105 feature require/meson.build2
-rw-r--r--test cases/failing/106 feature require.bis/meson.build2
-rw-r--r--test cases/failing/108 enter subdir twice/meson.build2
-rw-r--r--test cases/failing/109 invalid fstring/meson.build2
-rw-r--r--test cases/failing/11 object arithmetic/meson.build2
-rw-r--r--test cases/failing/112 cmake executable dependency/meson.build2
-rw-r--r--test cases/failing/12 string arithmetic/meson.build2
-rw-r--r--test cases/failing/122 cmake subproject error/meson.build2
-rw-r--r--test cases/failing/13 array arithmetic/meson.build2
-rw-r--r--test cases/failing/14 invalid option name/meson.build2
-rw-r--r--test cases/failing/18 wrong plusassign/meson.build2
-rw-r--r--test cases/failing/20 version/meson.build2
-rw-r--r--test cases/failing/21 subver/meson.build2
-rw-r--r--test cases/failing/21 subver/subprojects/foo/meson.build2
-rw-r--r--test cases/failing/22 assert/meson.build2
-rw-r--r--test cases/failing/24 int conversion/meson.build2
-rw-r--r--test cases/failing/25 badlang/meson.build2
-rw-r--r--test cases/failing/26 output subdir/meson.build2
-rw-r--r--test cases/failing/27 noprog use/meson.build2
-rw-r--r--test cases/failing/28 no crossprop/meson.build2
-rw-r--r--test cases/failing/29 nested ternary/meson.build2
-rw-r--r--test cases/failing/3 missing subdir/meson.build2
-rw-r--r--test cases/failing/30 invalid man extension/meson.build2
-rw-r--r--test cases/failing/31 no man extension/meson.build2
-rw-r--r--test cases/failing/33 non-root subproject/meson.build2
-rw-r--r--test cases/failing/34 dependency not-required then required/meson.build2
-rw-r--r--test cases/failing/38 prefix absolute/meson.build2
-rw-r--r--test cases/failing/4 missing meson.build/meson.build2
-rw-r--r--test cases/failing/40 custom target plainname many inputs/meson.build2
-rw-r--r--test cases/failing/41 custom target outputs not matching install_dirs/meson.build2
-rw-r--r--test cases/failing/43 abs subdir/meson.build2
-rw-r--r--test cases/failing/44 abspath to srcdir/meson.build2
-rw-r--r--test cases/failing/5 misplaced option/meson.build2
-rw-r--r--test cases/failing/50 inconsistent comparison/meson.build2
-rw-r--r--test cases/failing/55 or on new line/meson.build2
-rw-r--r--test cases/failing/6 missing incdir/meson.build2
-rw-r--r--test cases/failing/60 subproj filegrab/meson.build2
-rw-r--r--test cases/failing/62 grab sibling/meson.build2
-rw-r--r--test cases/failing/62 grab sibling/subprojects/b/meson.build2
-rw-r--r--test cases/failing/67 install_data rename bad size/meson.build2
-rw-r--r--test cases/failing/69 dual override/meson.build2
-rw-r--r--test cases/failing/7 go to subproject/meson.build2
-rw-r--r--test cases/failing/70 override used/meson.build2
-rw-r--r--test cases/failing/71 run_command unclean exit/meson.build2
-rw-r--r--test cases/failing/75 non ascii in ascii encoded configure file/meson.build2
-rw-r--r--test cases/failing/8 recursive/meson.build2
-rw-r--r--test cases/failing/8 recursive/subprojects/a/meson.build2
-rw-r--r--test cases/failing/8 recursive/subprojects/b/meson.build2
-rw-r--r--test cases/failing/82 gtest dependency with version/meson.build2
-rw-r--r--test cases/failing/97 subdir parse error/meson.build2
107 files changed, 108 insertions, 107 deletions
diff --git a/test cases/common/10 man install/meson.build b/test cases/common/10 man install/meson.build
index 05c5278..d0f3be8 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 827bae7..4621b30 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 a4615fa..18408fb 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 7539d56..0073a1e 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 58a69ca..b762201 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 1c339dd..64aa338 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 b54fec9..d414bfc 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 16e29c9..ead955f 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 b5b1e8a..d318633 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 ada9ae1..c3bfa20 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 73d0397..807c401 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 a83b533..7db4be4 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 3030505..abc5728 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 819509d..40c1b8c 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 2c640cf..05be94f 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 9ca4ec5..ee80192 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 9b11569..e8f2106 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 832c13c..1c29d86 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 071466d..b98f0cb 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 dae3130..aeb85af 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 1ed6977..62346a2 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 0870bc4..4e5aebf 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 f4ff535..615ee92 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 1a83187..65d4d71 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 7c81aa2..53f0fe6 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 33c6fa3..159d56f 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 b189faf..32d225f 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 2db2649..d686f6b 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 7f28e25..69b5d19 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 a6a3775..4f454e6 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 51d9503..1ed7011 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 0216be6..b84fdf2 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 352f4a2..06f45d6 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 bdcd93c..347b1f6 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 1cda37d..73351ae 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 aaabaaa..b418088 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 a083d69..5d38d0b 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 897054e..656fd18 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 2ba70b6..116fe0b 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 d4598b6..a905272 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 5000b86..d00a024 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 8e3c9c6..a51e526 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 82a51f1..d323db8 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 59f3b4d..13d41be 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 e31d7e4..f8ab81b 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 194df0d..e5f9773 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 8b8785a..7d5f54f 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 c7334b4..548294b 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 ad33ed6..1cb42c4 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 0a850a1..562013d 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 d18ddcd..811f497 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 cd11951..40f7398 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 ac477e7..b419c6d 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 30ede0e..e503038 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 edb6493..23cf956 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()
diff --git a/test cases/failing/10 out of bounds/meson.build b/test cases/failing/10 out of bounds/meson.build
index f791675..6917f7a 100644
--- a/test cases/failing/10 out of bounds/meson.build
+++ b/test cases/failing/10 out of bounds/meson.build
@@ -1,4 +1,4 @@
-project('out of bounds', 'c')
+project('out of bounds')
x = []
y = x[0]
diff --git a/test cases/failing/104 no fallback/meson.build b/test cases/failing/104 no fallback/meson.build
index 0101bb8..91d6b93 100644
--- a/test cases/failing/104 no fallback/meson.build
+++ b/test cases/failing/104 no fallback/meson.build
@@ -1,2 +1,2 @@
-project('no fallback', 'c')
+project('no fallback')
foob_dep = dependency('foob', allow_fallback: false, required: true)
diff --git a/test cases/failing/105 feature require/meson.build b/test cases/failing/105 feature require/meson.build
index d976ae8..8c47e37 100644
--- a/test cases/failing/105 feature require/meson.build
+++ b/test cases/failing/105 feature require/meson.build
@@ -1,2 +1,2 @@
-project('no fallback', 'c')
+project('no fallback')
foo = get_option('reqfeature').require(false, error_message: 'frobnicator not available')
diff --git a/test cases/failing/106 feature require.bis/meson.build b/test cases/failing/106 feature require.bis/meson.build
index 08c099c..4ea65e5 100644
--- a/test cases/failing/106 feature require.bis/meson.build
+++ b/test cases/failing/106 feature require.bis/meson.build
@@ -1,2 +1,2 @@
-project('no fallback', 'c')
+project('no fallback')
foo = get_option('reqfeature').require(false)
diff --git a/test cases/failing/108 enter subdir twice/meson.build b/test cases/failing/108 enter subdir twice/meson.build
index 9343233..d9bf9f5 100644
--- a/test cases/failing/108 enter subdir twice/meson.build
+++ b/test cases/failing/108 enter subdir twice/meson.build
@@ -1,3 +1,3 @@
-project('subdir2', 'c')
+project('subdir2')
subdir('sub')
subdir('sub')
diff --git a/test cases/failing/109 invalid fstring/meson.build b/test cases/failing/109 invalid fstring/meson.build
index 973df30..7eb3ccf 100644
--- a/test cases/failing/109 invalid fstring/meson.build
+++ b/test cases/failing/109 invalid fstring/meson.build
@@ -1,3 +1,3 @@
-project('invalid-fstring', 'c')
+project('invalid-fstring')
z = f'invalid fstring: @foo@'
diff --git a/test cases/failing/11 object arithmetic/meson.build b/test cases/failing/11 object arithmetic/meson.build
index 9a7a656..34e3a7a 100644
--- a/test cases/failing/11 object arithmetic/meson.build
+++ b/test cases/failing/11 object arithmetic/meson.build
@@ -1,3 +1,3 @@
-project('object arithmetic', 'c')
+project('object arithmetic')
foo = '5' + meson
diff --git a/test cases/failing/112 cmake executable dependency/meson.build b/test cases/failing/112 cmake executable dependency/meson.build
index bfb03ef..48d8fcb 100644
--- a/test cases/failing/112 cmake executable dependency/meson.build
+++ b/test cases/failing/112 cmake executable dependency/meson.build
@@ -1,4 +1,4 @@
-project('cmake-executable-dependency', ['c', 'cpp'])
+project('cmake-executable-dependency', 'c')
if not find_program('cmake', required: false).found()
error('MESON_SKIP_TEST CMake is not installed')
diff --git a/test cases/failing/12 string arithmetic/meson.build b/test cases/failing/12 string arithmetic/meson.build
index c02a865..8bdd451 100644
--- a/test cases/failing/12 string arithmetic/meson.build
+++ b/test cases/failing/12 string arithmetic/meson.build
@@ -1,3 +1,3 @@
-project('string arithmetic', 'c')
+project('string arithmetic')
foo = 'a' + 3
diff --git a/test cases/failing/122 cmake subproject error/meson.build b/test cases/failing/122 cmake subproject error/meson.build
index d1071bf..a308239 100644
--- a/test cases/failing/122 cmake subproject error/meson.build
+++ b/test cases/failing/122 cmake subproject error/meson.build
@@ -1,4 +1,4 @@
-project('cmake-executable-dependency', ['c', 'cpp'])
+project('cmake-executable-dependency')
if not find_program('cmake', required: false).found()
error('MESON_SKIP_TEST CMake is not installed')
diff --git a/test cases/failing/13 array arithmetic/meson.build b/test cases/failing/13 array arithmetic/meson.build
index 3ddf060..f43f81c 100644
--- a/test cases/failing/13 array arithmetic/meson.build
+++ b/test cases/failing/13 array arithmetic/meson.build
@@ -1,3 +1,3 @@
-project('array arithmetic', 'c')
+project('array arithmetic')
foo = ['a', 'b'] * 3
diff --git a/test cases/failing/14 invalid option name/meson.build b/test cases/failing/14 invalid option name/meson.build
index b99fd21..6312312 100644
--- a/test cases/failing/14 invalid option name/meson.build
+++ b/test cases/failing/14 invalid option name/meson.build
@@ -1 +1 @@
-project('foo', 'c')
+project('foo')
diff --git a/test cases/failing/18 wrong plusassign/meson.build b/test cases/failing/18 wrong plusassign/meson.build
index dfb9e6d..af7727a 100644
--- a/test cases/failing/18 wrong plusassign/meson.build
+++ b/test cases/failing/18 wrong plusassign/meson.build
@@ -1,3 +1,3 @@
-project('false plusassign', 'c')
+project('false plusassign')
3 += 4
diff --git a/test cases/failing/20 version/meson.build b/test cases/failing/20 version/meson.build
index 9a3a851..d25a395 100644
--- a/test cases/failing/20 version/meson.build
+++ b/test cases/failing/20 version/meson.build
@@ -1 +1 @@
-project('version mismatch', 'c', meson_version : '>100.0.0')
+project('version mismatch', meson_version : '>100.0.0')
diff --git a/test cases/failing/21 subver/meson.build b/test cases/failing/21 subver/meson.build
index 854f13c..ea0f914 100644
--- a/test cases/failing/21 subver/meson.build
+++ b/test cases/failing/21 subver/meson.build
@@ -1,3 +1,3 @@
-project('master', 'c')
+project('master')
x = subproject('foo', version : '>1.0.0')
diff --git a/test cases/failing/21 subver/subprojects/foo/meson.build b/test cases/failing/21 subver/subprojects/foo/meson.build
index f4ff535..615ee92 100644
--- a/test cases/failing/21 subver/subprojects/foo/meson.build
+++ b/test cases/failing/21 subver/subprojects/foo/meson.build
@@ -1 +1 @@
-project('foo', 'c', version : '1.0.0')
+project('foo', version : '1.0.0')
diff --git a/test cases/failing/22 assert/meson.build b/test cases/failing/22 assert/meson.build
index ae3a19c..45cff07 100644
--- a/test cases/failing/22 assert/meson.build
+++ b/test cases/failing/22 assert/meson.build
@@ -1,3 +1,3 @@
-project('failing assert', 'c')
+project('failing assert')
assert(false, 'I am fail.')
diff --git a/test cases/failing/24 int conversion/meson.build b/test cases/failing/24 int conversion/meson.build
index 51f6c7e..8db72f3 100644
--- a/test cases/failing/24 int conversion/meson.build
+++ b/test cases/failing/24 int conversion/meson.build
@@ -1,3 +1,3 @@
-project('int conversion', 'c')
+project('int conversion')
'notanumber'.to_int()
diff --git a/test cases/failing/25 badlang/meson.build b/test cases/failing/25 badlang/meson.build
index f6bf0cc..a31059b 100644
--- a/test cases/failing/25 badlang/meson.build
+++ b/test cases/failing/25 badlang/meson.build
@@ -1,3 +1,3 @@
-project('badlang', 'c')
+project('badlang')
add_languages('nonexisting')
diff --git a/test cases/failing/26 output subdir/meson.build b/test cases/failing/26 output subdir/meson.build
index 4eb422c..c4bd806 100644
--- a/test cases/failing/26 output subdir/meson.build
+++ b/test cases/failing/26 output subdir/meson.build
@@ -1,4 +1,4 @@
-project('outdir path', 'c')
+project('outdir path')
configure_file(input : 'foo.in',
output : 'subdir/foo',
diff --git a/test cases/failing/27 noprog use/meson.build b/test cases/failing/27 noprog use/meson.build
index e4de42f..af31ece 100644
--- a/test cases/failing/27 noprog use/meson.build
+++ b/test cases/failing/27 noprog use/meson.build
@@ -1,4 +1,4 @@
-project('using not found exe', 'c')
+project('using not found exe')
nope = find_program('nonexisting', required : false)
diff --git a/test cases/failing/28 no crossprop/meson.build b/test cases/failing/28 no crossprop/meson.build
index bd3a743..9152077 100644
--- a/test cases/failing/28 no crossprop/meson.build
+++ b/test cases/failing/28 no crossprop/meson.build
@@ -1,3 +1,3 @@
-project('no crossprop', 'c')
+project('no crossprop')
message(meson.get_cross_property('nonexisting'))
diff --git a/test cases/failing/29 nested ternary/meson.build b/test cases/failing/29 nested ternary/meson.build
index f9c2e5f..76364ce 100644
--- a/test cases/failing/29 nested ternary/meson.build
+++ b/test cases/failing/29 nested ternary/meson.build
@@ -1,3 +1,3 @@
-project('nested ternary', 'c')
+project('nested ternary')
x = true ? (false ? 1 : 0) : 2
diff --git a/test cases/failing/3 missing subdir/meson.build b/test cases/failing/3 missing subdir/meson.build
index fef8c4b..9301c1e 100644
--- a/test cases/failing/3 missing subdir/meson.build
+++ b/test cases/failing/3 missing subdir/meson.build
@@ -1,3 +1,3 @@
-project('subdir', 'c')
+project('subdir')
subdir('missing')
diff --git a/test cases/failing/30 invalid man extension/meson.build b/test cases/failing/30 invalid man extension/meson.build
index 45eddca..b3694d5 100644
--- a/test cases/failing/30 invalid man extension/meson.build
+++ b/test cases/failing/30 invalid man extension/meson.build
@@ -1,2 +1,2 @@
-project('man install', 'c')
+project('man install')
m1 = install_man('foo.a1')
diff --git a/test cases/failing/31 no man extension/meson.build b/test cases/failing/31 no man extension/meson.build
index bf83571..33fdd3e 100644
--- a/test cases/failing/31 no man extension/meson.build
+++ b/test cases/failing/31 no man extension/meson.build
@@ -1,2 +1,2 @@
-project('man install', 'c')
+project('man install')
m1 = install_man('foo')
diff --git a/test cases/failing/33 non-root subproject/meson.build b/test cases/failing/33 non-root subproject/meson.build
index c84dce7..65b1d23 100644
--- a/test cases/failing/33 non-root subproject/meson.build
+++ b/test cases/failing/33 non-root subproject/meson.build
@@ -1,3 +1,3 @@
-project('non-root subproject', 'c')
+project('non-root subproject')
subdir('some')
diff --git a/test cases/failing/34 dependency not-required then required/meson.build b/test cases/failing/34 dependency not-required then required/meson.build
index 1796699..54f5a58 100644
--- a/test cases/failing/34 dependency not-required then required/meson.build
+++ b/test cases/failing/34 dependency not-required then required/meson.build
@@ -1,4 +1,4 @@
-project('dep-test', 'c', version : '1.0')
+project('dep-test', version : '1.0')
foo_dep = dependency('foo-bar-xyz-12.3', required : false)
bar_dep = dependency('foo-bar-xyz-12.3')
diff --git a/test cases/failing/38 prefix absolute/meson.build b/test cases/failing/38 prefix absolute/meson.build
index e2863e7..6d0114b 100644
--- a/test cases/failing/38 prefix absolute/meson.build
+++ b/test cases/failing/38 prefix absolute/meson.build
@@ -1,2 +1,2 @@
-project('prefix-abs', 'c',
+project('prefix-abs',
default_options : ['prefix=some/path/notabs'])
diff --git a/test cases/failing/4 missing meson.build/meson.build b/test cases/failing/4 missing meson.build/meson.build
index 18654be..20f754c 100644
--- a/test cases/failing/4 missing meson.build/meson.build
+++ b/test cases/failing/4 missing meson.build/meson.build
@@ -1,3 +1,3 @@
-project('missing meson.build', 'c')
+project('missing meson.build')
subdir('subdir')
diff --git a/test cases/failing/40 custom target plainname many inputs/meson.build b/test cases/failing/40 custom target plainname many inputs/meson.build
index 1bcfc06..8513bf8 100644
--- a/test cases/failing/40 custom target plainname many inputs/meson.build
+++ b/test cases/failing/40 custom target plainname many inputs/meson.build
@@ -1,4 +1,4 @@
-project('plain name many inputs', 'c')
+project('plain name many inputs')
catfiles = find_program('catfiles.py')
diff --git a/test cases/failing/41 custom target outputs not matching install_dirs/meson.build b/test cases/failing/41 custom target outputs not matching install_dirs/meson.build
index 765e237..ed99dba 100644
--- a/test cases/failing/41 custom target outputs not matching install_dirs/meson.build
+++ b/test cases/failing/41 custom target outputs not matching install_dirs/meson.build
@@ -1,4 +1,4 @@
-project('outputs not matching install_dirs', 'c')
+project('outputs not matching install_dirs')
gen = find_program('generator.py')
diff --git a/test cases/failing/43 abs subdir/meson.build b/test cases/failing/43 abs subdir/meson.build
index 5425245..a8534d0 100644
--- a/test cases/failing/43 abs subdir/meson.build
+++ b/test cases/failing/43 abs subdir/meson.build
@@ -1,4 +1,4 @@
-project('abs subdir', 'c')
+project('abs subdir')
# For some reason people insist on doing this, probably
# because Make has taught them to never rely on anything.
diff --git a/test cases/failing/44 abspath to srcdir/meson.build b/test cases/failing/44 abspath to srcdir/meson.build
index 964a19b..78c6124 100644
--- a/test cases/failing/44 abspath to srcdir/meson.build
+++ b/test cases/failing/44 abspath to srcdir/meson.build
@@ -1,3 +1,3 @@
-project('meson', 'c')
+project('meson')
include_directories(meson.current_source_dir())
diff --git a/test cases/failing/5 misplaced option/meson.build b/test cases/failing/5 misplaced option/meson.build
index 883de0f..a992de5 100644
--- a/test cases/failing/5 misplaced option/meson.build
+++ b/test cases/failing/5 misplaced option/meson.build
@@ -1,3 +1,3 @@
-project('misplaced option', 'c')
+project('misplaced option')
option('dummy', type : 'string')
diff --git a/test cases/failing/50 inconsistent comparison/meson.build b/test cases/failing/50 inconsistent comparison/meson.build
index 7694c2c..237a157 100644
--- a/test cases/failing/50 inconsistent comparison/meson.build
+++ b/test cases/failing/50 inconsistent comparison/meson.build
@@ -1,4 +1,4 @@
-project('kwarg before arg', 'c')
+project('kwarg before arg')
# All of these should fail, though only the first one will error out if
# everything's working correctly.
diff --git a/test cases/failing/55 or on new line/meson.build b/test cases/failing/55 or on new line/meson.build
index 12f2705..b0bd08e 100644
--- a/test cases/failing/55 or on new line/meson.build
+++ b/test cases/failing/55 or on new line/meson.build
@@ -1,4 +1,4 @@
-project('silent_or', 'c')
+project('silent_or')
if get_option('foo') == 'true'
or get_option('foo') == 'auto'
diff --git a/test cases/failing/6 missing incdir/meson.build b/test cases/failing/6 missing incdir/meson.build
index 617ee77..eb5ba2a 100644
--- a/test cases/failing/6 missing incdir/meson.build
+++ b/test cases/failing/6 missing incdir/meson.build
@@ -1,3 +1,3 @@
-project('missing incdir', 'c')
+project('missing incdir')
inc = include_directories('nosuchdir')
diff --git a/test cases/failing/60 subproj filegrab/meson.build b/test cases/failing/60 subproj filegrab/meson.build
index f38d6c7..b5c484c 100644
--- a/test cases/failing/60 subproj filegrab/meson.build
+++ b/test cases/failing/60 subproj filegrab/meson.build
@@ -1,4 +1,4 @@
-project('mainproj', 'c')
+project('mainproj')
# Try to grab a file from a parent project.
diff --git a/test cases/failing/62 grab sibling/meson.build b/test cases/failing/62 grab sibling/meson.build
index 60b926a..5ddc295 100644
--- a/test cases/failing/62 grab sibling/meson.build
+++ b/test cases/failing/62 grab sibling/meson.build
@@ -1,3 +1,3 @@
-project('master', 'c')
+project('master')
subproject('a')
diff --git a/test cases/failing/62 grab sibling/subprojects/b/meson.build b/test cases/failing/62 grab sibling/subprojects/b/meson.build
index 7c70fe5..57f261a 100644
--- a/test cases/failing/62 grab sibling/subprojects/b/meson.build
+++ b/test cases/failing/62 grab sibling/subprojects/b/meson.build
@@ -1,3 +1,3 @@
-projecT('b', 'c')
+projecT('b')
message('I do nothing.')
diff --git a/test cases/failing/67 install_data rename bad size/meson.build b/test cases/failing/67 install_data rename bad size/meson.build
index c7cde08..849bb9a 100644
--- a/test cases/failing/67 install_data rename bad size/meson.build
+++ b/test cases/failing/67 install_data rename bad size/meson.build
@@ -1,3 +1,3 @@
-project('data install test', 'c')
+project('data install test')
install_data(['file1.txt', 'file2.txt'], rename : 'just one name')
diff --git a/test cases/failing/69 dual override/meson.build b/test cases/failing/69 dual override/meson.build
index e5f86ba..999b8bc 100644
--- a/test cases/failing/69 dual override/meson.build
+++ b/test cases/failing/69 dual override/meson.build
@@ -1,4 +1,4 @@
-project('yo dawg', 'c')
+project('yo dawg')
p = find_program('overrides.py')
meson.override_find_program('override', p)
diff --git a/test cases/failing/7 go to subproject/meson.build b/test cases/failing/7 go to subproject/meson.build
index 205cc5e..0354ce0 100644
--- a/test cases/failing/7 go to subproject/meson.build
+++ b/test cases/failing/7 go to subproject/meson.build
@@ -1,3 +1,3 @@
-project('fff', 'c')
+project('fff')
subdir('subprojects')
diff --git a/test cases/failing/70 override used/meson.build b/test cases/failing/70 override used/meson.build
index 61885bb..128108e 100644
--- a/test cases/failing/70 override used/meson.build
+++ b/test cases/failing/70 override used/meson.build
@@ -1,4 +1,4 @@
-project('overridde an already found exe', 'c')
+project('overridde an already found exe')
old = find_program('something.py')
replacement = find_program('other.py')
diff --git a/test cases/failing/71 run_command unclean exit/meson.build b/test cases/failing/71 run_command unclean exit/meson.build
index 4bc02ae..f6bf895 100644
--- a/test cases/failing/71 run_command unclean exit/meson.build
+++ b/test cases/failing/71 run_command unclean exit/meson.build
@@ -1,4 +1,4 @@
-project('run_command unclean exit', 'c')
+project('run_command unclean exit')
rcprog = find_program('./returncode.py')
run_command(rcprog, '1', check : true)
diff --git a/test cases/failing/75 non ascii in ascii encoded configure file/meson.build b/test cases/failing/75 non ascii in ascii encoded configure file/meson.build
index 846daaf..26da80e 100644
--- a/test cases/failing/75 non ascii in ascii encoded configure file/meson.build
+++ b/test cases/failing/75 non ascii in ascii encoded configure file/meson.build
@@ -1,4 +1,4 @@
-project('non acsii to ascii encoding', 'c')
+project('non acsii to ascii encoding')
# Writing a non ASCII character with a ASCII encoding should fail
conf9 = configuration_data()
conf9.set('var', 'д')
diff --git a/test cases/failing/8 recursive/meson.build b/test cases/failing/8 recursive/meson.build
index f315294..0cf9c47 100644
--- a/test cases/failing/8 recursive/meson.build
+++ b/test cases/failing/8 recursive/meson.build
@@ -1,3 +1,3 @@
-project('recursive', 'c')
+project('recursive')
a = subproject('a')
diff --git a/test cases/failing/8 recursive/subprojects/a/meson.build b/test cases/failing/8 recursive/subprojects/a/meson.build
index 7c6040b..c368b5c 100644
--- a/test cases/failing/8 recursive/subprojects/a/meson.build
+++ b/test cases/failing/8 recursive/subprojects/a/meson.build
@@ -1,3 +1,3 @@
-project('a', 'c')
+project('a')
b = subproject('b')
diff --git a/test cases/failing/8 recursive/subprojects/b/meson.build b/test cases/failing/8 recursive/subprojects/b/meson.build
index d0beeb7..93b46c0 100644
--- a/test cases/failing/8 recursive/subprojects/b/meson.build
+++ b/test cases/failing/8 recursive/subprojects/b/meson.build
@@ -1,3 +1,3 @@
-project('b', 'c')
+project('b')
a = subproject('a')
diff --git a/test cases/failing/82 gtest dependency with version/meson.build b/test cases/failing/82 gtest dependency with version/meson.build
index b43a047..efbffe1 100644
--- a/test cases/failing/82 gtest dependency with version/meson.build
+++ b/test cases/failing/82 gtest dependency with version/meson.build
@@ -1,4 +1,4 @@
-project('gtest dependency with version', ['c', 'cpp'])
+project('gtest dependency with version', 'cpp')
if not dependency('gtest', method: 'system', required: false).found()
error('MESON_SKIP_TEST test requires gtest')
diff --git a/test cases/failing/97 subdir parse error/meson.build b/test cases/failing/97 subdir parse error/meson.build
index ee5bb0c..a744396 100644
--- a/test cases/failing/97 subdir parse error/meson.build
+++ b/test cases/failing/97 subdir parse error/meson.build
@@ -1,2 +1,2 @@
-project('subdir false plusassign', 'c')
+project('subdir false plusassign')
subdir('subdir')