mirror of
https://github.com/mesonbuild/meson.git
synced 2026-06-30 19:57:45 +00:00
Condense test directory numbers for rc1.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"stdout": [
|
||||
{
|
||||
"line": "test cases/failing/107 no build get_external_property/meson.build:3:0: ERROR: Unknown property for build machine: nonexisting"
|
||||
"line": "test cases/failing/108 no build get_external_property/meson.build:3:0: ERROR: Unknown property for build machine: nonexisting"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"stdout": [
|
||||
{
|
||||
"line": "test cases/failing/108 enter subdir twice/meson.build:3:0: ERROR: Tried to enter directory \"sub\", which has already been visited."
|
||||
"line": "test cases/failing/109 enter subdir twice/meson.build:3:0: ERROR: Tried to enter directory \"sub\", which has already been visited."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"stdout": [
|
||||
{
|
||||
"line": "test cases/failing/110 invalid fstring/meson.build:3:0: ERROR: Identifier \"foo\" does not name a variable."
|
||||
"line": "test cases/failing/111 invalid fstring/meson.build:3:0: ERROR: Identifier \"foo\" does not name a variable."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"stdout": [
|
||||
{
|
||||
"line": "test cases/failing/111 compiler argument checking/meson.build:4:0: ERROR: Compiler for C does not support \"-meson-goober-arg-for-testing\""
|
||||
"line": "test cases/failing/112 compiler argument checking/meson.build:4:0: ERROR: Compiler for C does not support \"-meson-goober-arg-for-testing\""
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"stdout": [
|
||||
{
|
||||
"line": "test cases/failing/112 empty fallback/meson.build:6:0: ERROR: Dependency \"foo\" not found, tried pkgconfig and cmake"
|
||||
"line": "test cases/failing/113 empty fallback/meson.build:6:0: ERROR: Dependency \"foo\" not found, tried pkgconfig and cmake"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"stdout": [
|
||||
{
|
||||
"line": "test cases/failing/113 cmake executable dependency/meson.build:9:0: ERROR: main is an executable and does not support the dependency() method. Use target() instead."
|
||||
"line": "test cases/failing/114 cmake executable dependency/meson.build:9:0: ERROR: main is an executable and does not support the dependency() method. Use target() instead."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"stdout": [
|
||||
{
|
||||
"line": "test cases/failing/114 allow_fallback with fallback/meson.build:3:0: ERROR: \"fallback\" and \"allow_fallback\" arguments are mutually exclusive"
|
||||
"line": "test cases/failing/115 allow_fallback with fallback/meson.build:3:0: ERROR: \"fallback\" and \"allow_fallback\" arguments are mutually exclusive"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"stdout": [
|
||||
{
|
||||
"line": "test cases/failing/115 nonsensical bindgen/meson.build:17:24: ERROR: bindgen source file must be a C header, not an object or build target"
|
||||
"line": "test cases/failing/116 nonsensical bindgen/meson.build:17:24: ERROR: bindgen source file must be a C header, not an object or build target"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"stdout": [
|
||||
{
|
||||
"line": "test cases/failing/116 run_target in test/meson.build:4:0: ERROR: test keyword argument 'args' was of type array[RunTarget] but should have been array[str | File | BuildTarget | CustomTarget | CustomTargetIndex]"
|
||||
"line": "test cases/failing/117 run_target in test/meson.build:4:0: ERROR: test keyword argument 'args' was of type array[RunTarget] but should have been array[str | File | BuildTarget | CustomTarget | CustomTargetIndex]"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"stdout": [
|
||||
{
|
||||
"line": "test cases/failing/117 run_target in add_install_script/meson.build:4:6: ERROR: meson.add_install_script argument 2 was of type \"RunTarget\" but should have been one of: \"str\", \"File\", \"BuildTarget\", \"CustomTarget\", \"CustomTargetIndex\", \"ExternalProgram\""
|
||||
"line": "test cases/failing/118 run_target in add_install_script/meson.build:4:6: ERROR: meson.add_install_script argument 2 was of type \"RunTarget\" but should have been one of: \"str\", \"File\", \"BuildTarget\", \"CustomTarget\", \"CustomTargetIndex\", \"ExternalProgram\""
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"stdout": [
|
||||
{
|
||||
"line": "test cases/failing/118 pathsep in install_symlink/meson.build:3:0: ERROR: Link name is \"foo/bar\", but link names cannot contain path separators. The dir part should be in install_dir."
|
||||
"line": "test cases/failing/119 pathsep in install_symlink/meson.build:3:0: ERROR: Link name is \"foo/bar\", but link names cannot contain path separators. The dir part should be in install_dir."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -3830,7 +3830,7 @@ class AllPlatformTests(BasePlatformTests):
|
||||
self.assertEqual(sorted(link_args), sorted(['-flto']))
|
||||
|
||||
def test_install_tag(self) -> None:
|
||||
testdir = os.path.join(self.unit_test_dir, '98 install all targets')
|
||||
testdir = os.path.join(self.unit_test_dir, '99 install all targets')
|
||||
self.init(testdir)
|
||||
self.build()
|
||||
|
||||
@@ -3952,7 +3952,7 @@ class AllPlatformTests(BasePlatformTests):
|
||||
do_install(None, expected_all, 2)
|
||||
|
||||
def test_introspect_install_plan(self):
|
||||
testdir = os.path.join(self.unit_test_dir, '98 install all targets')
|
||||
testdir = os.path.join(self.unit_test_dir, '99 install all targets')
|
||||
introfile = os.path.join(self.builddir, 'meson-info', 'intro-install_plan.json')
|
||||
self.init(testdir)
|
||||
self.assertPathExists(introfile)
|
||||
@@ -4139,7 +4139,7 @@ class AllPlatformTests(BasePlatformTests):
|
||||
}}
|
||||
''')
|
||||
|
||||
testdir = os.path.join(self.unit_test_dir, '100 rlib linkage')
|
||||
testdir = os.path.join(self.unit_test_dir, '102 rlib linkage')
|
||||
gen_file = os.path.join(testdir, 'lib.rs')
|
||||
with open(gen_file, 'w') as f:
|
||||
f.write(template.format(0))
|
||||
@@ -4159,7 +4159,7 @@ class AllPlatformTests(BasePlatformTests):
|
||||
self.assertIn('exit status 39', cm.exception.stdout)
|
||||
|
||||
def test_custom_target_name(self):
|
||||
testdir = os.path.join(self.unit_test_dir, '99 custom target name')
|
||||
testdir = os.path.join(self.unit_test_dir, '100 custom target name')
|
||||
self.init(testdir)
|
||||
out = self.build()
|
||||
if self.backend is Backend.ninja:
|
||||
|
||||
@@ -1334,7 +1334,7 @@ class LinuxlikeTests(BasePlatformTests):
|
||||
see: https://github.com/mesonbuild/meson/issues/9000
|
||||
https://stackoverflow.com/questions/48532868/gcc-library-option-with-a-colon-llibevent-a
|
||||
'''
|
||||
testdir = os.path.join(self.unit_test_dir, '97 link full name','libtestprovider')
|
||||
testdir = os.path.join(self.unit_test_dir, '98 link full name','libtestprovider')
|
||||
oldprefix = self.prefix
|
||||
# install into installdir without using DESTDIR
|
||||
installdir = self.installdir
|
||||
@@ -1347,7 +1347,7 @@ class LinuxlikeTests(BasePlatformTests):
|
||||
self.new_builddir()
|
||||
env = {'LIBRARY_PATH': os.path.join(installdir, self.libdir),
|
||||
'PKG_CONFIG_PATH': os.path.join(installdir, self.libdir, 'pkgconfig')}
|
||||
testdir = os.path.join(self.unit_test_dir, '97 link full name','proguser')
|
||||
testdir = os.path.join(self.unit_test_dir, '98 link full name','proguser')
|
||||
self.init(testdir,override_envvars=env)
|
||||
|
||||
# test for link with full path
|
||||
|
||||
@@ -32,7 +32,7 @@ class PlatformAgnosticTests(BasePlatformTests):
|
||||
Tests that find_program() with a relative path does not find the program
|
||||
in current workdir.
|
||||
'''
|
||||
testdir = os.path.join(self.unit_test_dir, '99 relative find program')
|
||||
testdir = os.path.join(self.unit_test_dir, '101 relative find program')
|
||||
self.init(testdir, workdir=testdir)
|
||||
|
||||
def test_invalid_option_names(self):
|
||||
@@ -68,5 +68,5 @@ class PlatformAgnosticTests(BasePlatformTests):
|
||||
interp.process(fname)
|
||||
|
||||
def test_python_dependency_without_pkgconfig(self):
|
||||
testdir = os.path.join(self.unit_test_dir, '101 python without pkgconfig')
|
||||
testdir = os.path.join(self.unit_test_dir, '103 python without pkgconfig')
|
||||
self.init(testdir, override_envvars={'PKG_CONFIG': 'notfound'})
|
||||
|
||||
Reference in New Issue
Block a user