aboutsummaryrefslogtreecommitdiff
path: root/unittests/allplatformstests.py
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/allplatformstests.py')
-rw-r--r--unittests/allplatformstests.py38
1 files changed, 19 insertions, 19 deletions
diff --git a/unittests/allplatformstests.py b/unittests/allplatformstests.py
index 71f8828..412723c 100644
--- a/unittests/allplatformstests.py
+++ b/unittests/allplatformstests.py
@@ -488,7 +488,7 @@ class AllPlatformTests(BasePlatformTests):
'''
if not shutil.which('xmllint'):
raise SkipTest('xmllint not installed')
- testdir = os.path.join(self.unit_test_dir, '112 replace unencodable xml chars')
+ testdir = os.path.join(self.unit_test_dir, '111 replace unencodable xml chars')
self.init(testdir)
tests_command_output = self.run_tests()
junit_xml_logs = Path(self.logdir, 'testlog.junit.xml')
@@ -648,7 +648,7 @@ class AllPlatformTests(BasePlatformTests):
self.run_tests()
def test_implicit_forcefallback(self):
- testdir = os.path.join(self.unit_test_dir, '96 implicit force fallback')
+ testdir = os.path.join(self.unit_test_dir, '95 implicit force fallback')
with self.assertRaises(subprocess.CalledProcessError):
self.init(testdir)
self.init(testdir, extra_args=['--wrap-mode=forcefallback'])
@@ -2082,7 +2082,7 @@ class AllPlatformTests(BasePlatformTests):
check_pcfile('libvartest2.pc', relocatable=False)
self.wipe()
- testdir_abs = os.path.join(self.unit_test_dir, '106 pkgconfig relocatable with absolute path')
+ testdir_abs = os.path.join(self.unit_test_dir, '105 pkgconfig relocatable with absolute path')
self.init(testdir_abs)
check_pcfile('libsimple.pc', relocatable=True, levels=3)
@@ -2164,7 +2164,7 @@ class AllPlatformTests(BasePlatformTests):
self.assertDictEqual(original, expected)
def test_executable_names(self):
- testdir = os.path.join(self.unit_test_dir, '122 executable suffix')
+ testdir = os.path.join(self.unit_test_dir, '121 executable suffix')
self.init(testdir)
self.build()
exe1 = os.path.join(self.builddir, 'foo' + exe_suffix)
@@ -2255,7 +2255,7 @@ class AllPlatformTests(BasePlatformTests):
def test_options_listed_in_build_options(self) -> None:
"""Detect when changed options become listed in build options."""
- testdir = os.path.join(self.unit_test_dir, '114 list build options')
+ testdir = os.path.join(self.unit_test_dir, '113 list build options')
out = self.init(testdir)
for line in out.splitlines():
@@ -2493,7 +2493,7 @@ class AllPlatformTests(BasePlatformTests):
self.assertIn(msg, out)
def test_mixed_language_linker_check(self):
- testdir = os.path.join(self.unit_test_dir, '97 compiler.links file arg')
+ testdir = os.path.join(self.unit_test_dir, '96 compiler.links file arg')
self.init(testdir)
cmds = self.get_meson_log_compiler_checks()
self.assertEqual(len(cmds), 5)
@@ -4331,7 +4331,7 @@ class AllPlatformTests(BasePlatformTests):
self.init(srcdir, extra_args=['-Dbuild.b_lto=true'])
def test_install_skip_subprojects(self):
- testdir = os.path.join(self.unit_test_dir, '92 install skip subprojects')
+ testdir = os.path.join(self.unit_test_dir, '91 install skip subprojects')
self.init(testdir)
self.build()
@@ -4378,7 +4378,7 @@ class AllPlatformTests(BasePlatformTests):
check_installed_files(['--skip-subprojects', 'another'], all_expected)
def test_adding_subproject_to_configure_project(self) -> None:
- srcdir = os.path.join(self.unit_test_dir, '93 new subproject in configured project')
+ srcdir = os.path.join(self.unit_test_dir, '92 new subproject in configured project')
self.init(srcdir)
self.build()
self.setconf('-Duse-sub=true')
@@ -4428,7 +4428,7 @@ class AllPlatformTests(BasePlatformTests):
if not shutil.which('clang-format'):
raise SkipTest('clang-format not found')
- testdir = os.path.join(self.unit_test_dir, '94 clangformat')
+ testdir = os.path.join(self.unit_test_dir, '93 clangformat')
newdir = os.path.join(self.builddir, 'testdir')
shutil.copytree(testdir, newdir)
self.new_builddir()
@@ -4453,7 +4453,7 @@ class AllPlatformTests(BasePlatformTests):
self.build('clang-format-check')
def test_custom_target_implicit_include(self):
- testdir = os.path.join(self.unit_test_dir, '95 custominc')
+ testdir = os.path.join(self.unit_test_dir, '94 custominc')
self.init(testdir)
self.build()
compdb = self.get_compdb()
@@ -4499,7 +4499,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, '99 install all targets')
+ testdir = os.path.join(self.unit_test_dir, '98 install all targets')
self.init(testdir)
self.build()
@@ -4670,7 +4670,7 @@ class AllPlatformTests(BasePlatformTests):
def test_introspect_install_plan(self):
- testdir = os.path.join(self.unit_test_dir, '99 install all targets')
+ testdir = os.path.join(self.unit_test_dir, '98 install all targets')
introfile = os.path.join(self.builddir, 'meson-info', 'intro-install_plan.json')
self.init(testdir)
self.assertPathExists(introfile)
@@ -4985,7 +4985,7 @@ class AllPlatformTests(BasePlatformTests):
}}
''')
- testdir = os.path.join(self.unit_test_dir, '102 rlib linkage')
+ testdir = os.path.join(self.unit_test_dir, '101 rlib linkage')
gen_file = os.path.join(testdir, 'lib.rs')
with open(gen_file, 'w', encoding='utf-8') as f:
f.write(template.format(0))
@@ -5033,7 +5033,7 @@ class AllPlatformTests(BasePlatformTests):
return
def test_custom_target_name(self):
- testdir = os.path.join(self.unit_test_dir, '100 custom target name')
+ testdir = os.path.join(self.unit_test_dir, '99 custom target name')
self.init(testdir)
out = self.build()
if self.backend is Backend.ninja:
@@ -5041,7 +5041,7 @@ class AllPlatformTests(BasePlatformTests):
self.assertIn('Generating subdir/file.txt with a custom command', out)
def test_symlinked_subproject(self):
- testdir = os.path.join(self.unit_test_dir, '108 subproject symlink')
+ testdir = os.path.join(self.unit_test_dir, '107 subproject symlink')
subproject_dir = os.path.join(testdir, 'subprojects')
subproject = os.path.join(testdir, 'symlinked_subproject')
symlinked_subproject = os.path.join(testdir, 'subprojects', 'symlinked_subproject')
@@ -5057,7 +5057,7 @@ class AllPlatformTests(BasePlatformTests):
self.build()
def test_configure_same_noop(self):
- testdir = os.path.join(self.unit_test_dir, '110 configure same noop')
+ testdir = os.path.join(self.unit_test_dir, '109 configure same noop')
args = [
'-Dstring=val',
'-Dboolean=true',
@@ -5095,7 +5095,7 @@ class AllPlatformTests(BasePlatformTests):
def __test_multi_stds(self, test_c: bool = True, test_objc: bool = False) -> None:
assert test_c or test_objc, 'must test something'
- testdir = os.path.join(self.unit_test_dir, '116 c cpp stds')
+ testdir = os.path.join(self.unit_test_dir, '115 c cpp stds')
self.init(testdir, extra_args=[f'-Dwith-c={str(test_c).lower()}',
f'-Dwith-objc={str(test_objc).lower()}'])
# Invalid values should fail whatever compiler we have
@@ -5154,7 +5154,7 @@ class AllPlatformTests(BasePlatformTests):
self.__test_multi_stds(test_objc=True)
def test_slice(self):
- testdir = os.path.join(self.unit_test_dir, '124 test slice')
+ testdir = os.path.join(self.unit_test_dir, '126 test slice')
self.init(testdir)
self.build()
@@ -5192,7 +5192,7 @@ class AllPlatformTests(BasePlatformTests):
self.assertEqual(cc.linker.get_accepts_rsp(), has_rsp)
def test_nonexisting_bargs(self):
- testdir = os.path.join(self.unit_test_dir, '117 empty project')
+ testdir = os.path.join(self.unit_test_dir, '116 empty project')
args = ['-Db_ndebug=if_release']
self.init(testdir, extra_args=args)