Condense test directory numbers for rc1.

pull/9772/head
Jussi Pakkanen 3 years ago
parent 4101ca6eaa
commit 117ba23071
  1. 0
      test cases/common/246 dependency fallbacks/meson.build
  2. 0
      test cases/common/246 dependency fallbacks/subprojects/png/meson.build
  3. 0
      test cases/common/247 deprecated option/meson.build
  4. 0
      test cases/common/247 deprecated option/meson_options.txt
  5. 0
      test cases/common/247 deprecated option/test.json
  6. 0
      test cases/common/248 install_emptydir/meson.build
  7. 0
      test cases/common/248 install_emptydir/test.json
  8. 0
      test cases/common/249 install_symlink/datafile.dat
  9. 0
      test cases/common/249 install_symlink/meson.build
  10. 0
      test cases/common/249 install_symlink/test.json
  11. 0
      test cases/failing/107 feature require.bis/meson.build
  12. 0
      test cases/failing/107 feature require.bis/meson_options.txt
  13. 0
      test cases/failing/107 feature require.bis/test.json
  14. 0
      test cases/failing/108 no build get_external_property/meson.build
  15. 2
      test cases/failing/108 no build get_external_property/test.json
  16. 0
      test cases/failing/109 enter subdir twice/meson.build
  17. 0
      test cases/failing/109 enter subdir twice/sub/meson.build
  18. 2
      test cases/failing/109 enter subdir twice/test.json
  19. 0
      test cases/failing/111 invalid fstring/109 invalid fstring/meson.build
  20. 0
      test cases/failing/111 invalid fstring/109 invalid fstring/test.json
  21. 0
      test cases/failing/111 invalid fstring/meson.build
  22. 2
      test cases/failing/111 invalid fstring/test.json
  23. 0
      test cases/failing/112 compiler argument checking/meson.build
  24. 2
      test cases/failing/112 compiler argument checking/test.json
  25. 0
      test cases/failing/113 empty fallback/meson.build
  26. 0
      test cases/failing/113 empty fallback/subprojects/foo/meson.build
  27. 2
      test cases/failing/113 empty fallback/test.json
  28. 0
      test cases/failing/114 cmake executable dependency/meson.build
  29. 0
      test cases/failing/114 cmake executable dependency/subprojects/cmlib/CMakeLists.txt
  30. 0
      test cases/failing/114 cmake executable dependency/subprojects/cmlib/main.c
  31. 2
      test cases/failing/114 cmake executable dependency/test.json
  32. 0
      test cases/failing/115 allow_fallback with fallback/meson.build
  33. 2
      test cases/failing/115 allow_fallback with fallback/test.json
  34. 0
      test cases/failing/116 nonsensical bindgen/meson.build
  35. 0
      test cases/failing/116 nonsensical bindgen/src/header.h
  36. 0
      test cases/failing/116 nonsensical bindgen/src/source.c
  37. 2
      test cases/failing/116 nonsensical bindgen/test.json
  38. 0
      test cases/failing/117 run_target in test/meson.build
  39. 2
      test cases/failing/117 run_target in test/test.json
  40. 0
      test cases/failing/117 run_target in test/trivial.c
  41. 0
      test cases/failing/118 run_target in add_install_script/meson.build
  42. 2
      test cases/failing/118 run_target in add_install_script/test.json
  43. 0
      test cases/failing/118 run_target in add_install_script/trivial.c
  44. 0
      test cases/failing/119 pathsep in install_symlink/meson.build
  45. 2
      test cases/failing/119 pathsep in install_symlink/test.json
  46. 0
      test cases/unit/100 custom target name/file.txt.in
  47. 0
      test cases/unit/100 custom target name/meson.build
  48. 0
      test cases/unit/100 custom target name/subdir/meson.build
  49. 0
      test cases/unit/101 relative find program/foo.py
  50. 0
      test cases/unit/101 relative find program/meson.build
  51. 0
      test cases/unit/101 relative find program/subdir/meson.build
  52. 0
      test cases/unit/102 rlib linkage/lib2.rs
  53. 0
      test cases/unit/102 rlib linkage/main.rs
  54. 0
      test cases/unit/102 rlib linkage/meson.build
  55. 0
      test cases/unit/103 python without pkgconfig/meson.build
  56. 0
      test cases/unit/98 link full name/.gitignore
  57. 0
      test cases/unit/98 link full name/libtestprovider/meson.build
  58. 0
      test cases/unit/98 link full name/libtestprovider/provider.c
  59. 0
      test cases/unit/98 link full name/proguser/meson.build
  60. 0
      test cases/unit/98 link full name/proguser/receiver.c
  61. 0
      test cases/unit/99 install all targets/bar-custom.txt
  62. 0
      test cases/unit/99 install all targets/bar-devel.h
  63. 0
      test cases/unit/99 install all targets/bar-notag.txt
  64. 0
      test cases/unit/99 install all targets/custom_files/data.txt
  65. 0
      test cases/unit/99 install all targets/foo.in
  66. 0
      test cases/unit/99 install all targets/foo1-devel.h
  67. 0
      test cases/unit/99 install all targets/lib.c
  68. 0
      test cases/unit/99 install all targets/main.c
  69. 0
      test cases/unit/99 install all targets/meson.build
  70. 0
      test cases/unit/99 install all targets/script.py
  71. 0
      test cases/unit/99 install all targets/subdir/bar2-devel.h
  72. 0
      test cases/unit/99 install all targets/subdir/foo2.in
  73. 0
      test cases/unit/99 install all targets/subdir/foo3-devel.h
  74. 0
      test cases/unit/99 install all targets/subdir/lib.c
  75. 0
      test cases/unit/99 install all targets/subdir/main.c
  76. 0
      test cases/unit/99 install all targets/subdir/meson.build
  77. 0
      test cases/unit/99 install all targets/subdir/script.py
  78. 8
      unittests/allplatformstests.py
  79. 4
      unittests/linuxliketests.py
  80. 4
      unittests/platformagnostictests.py

@ -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'})

Loading…
Cancel
Save