Condense test directory names for next release.

pull/8997/head
Jussi Pakkanen 4 years ago
parent c7a0c5cde4
commit 7dee480a40
  1. 8
      run_unittests.py
  2. 0
      test cases/common/240 dependency native host == build/meson.build
  3. 0
      test cases/common/240 dependency native host == build/test.json
  4. 0
      test cases/common/241 set and get variable/meson.build
  5. 0
      test cases/common/241 set and get variable/test1.txt
  6. 0
      test cases/common/241 set and get variable/test2.txt
  7. 0
      test cases/common/242 custom target feed/data_source.txt
  8. 0
      test cases/common/242 custom target feed/meson.build
  9. 0
      test cases/common/242 custom target feed/my_compiler.py
  10. 0
      test cases/common/242 custom target feed/test.json
  11. 0
      test cases/failing/100 no lang/main.c
  12. 0
      test cases/failing/100 no lang/meson.build
  13. 2
      test cases/failing/100 no lang/test.json
  14. 0
      test cases/failing/101 no glib-compile-resources/meson.build
  15. 2
      test cases/failing/101 no glib-compile-resources/test.json
  16. 0
      test cases/failing/101 no glib-compile-resources/trivial.gresource.xml
  17. 7
      test cases/failing/101 no native compiler/test.json
  18. 0
      test cases/failing/102 number in combo/meson.build
  19. 0
      test cases/failing/102 number in combo/nativefile.ini
  20. 2
      test cases/failing/102 number in combo/test.json
  21. 7
      test cases/failing/102 subdir parse error/test.json
  22. 0
      test cases/failing/103 bool in combo/meson.build
  23. 0
      test cases/failing/103 bool in combo/meson_options.txt
  24. 0
      test cases/failing/103 bool in combo/nativefile.ini
  25. 2
      test cases/failing/103 bool in combo/test.json
  26. 7
      test cases/failing/103 invalid option file/test.json
  27. 0
      test cases/failing/104 compiler no lang/meson.build
  28. 2
      test cases/failing/104 compiler no lang/test.json
  29. 0
      test cases/failing/105 no fallback/meson.build
  30. 0
      test cases/failing/105 no fallback/subprojects/foob/meson.build
  31. 0
      test cases/failing/105 no fallback/test.json
  32. 0
      test cases/failing/106 feature require/meson.build
  33. 0
      test cases/failing/106 feature require/meson_options.txt
  34. 0
      test cases/failing/106 feature require/test.json
  35. 0
      test cases/failing/107 no build get_external_property/meson.build
  36. 2
      test cases/failing/107 no build get_external_property/test.json
  37. 0
      test cases/failing/108 enter subdir twice/meson.build
  38. 0
      test cases/failing/108 enter subdir twice/sub/meson.build
  39. 2
      test cases/failing/108 enter subdir twice/test.json
  40. 0
      test cases/failing/109 invalid fstring/meson.build
  41. 2
      test cases/failing/109 invalid fstring/test.json
  42. 0
      test cases/failing/110 invalid fstring/meson.build
  43. 2
      test cases/failing/110 invalid fstring/test.json
  44. 0
      test cases/failing/111 compiler argument checking/meson.build
  45. 2
      test cases/failing/111 compiler argument checking/test.json
  46. 0
      test cases/failing/112 empty fallback/meson.build
  47. 0
      test cases/failing/112 empty fallback/subprojects/foo/meson.build
  48. 2
      test cases/failing/112 empty fallback/test.json
  49. 0
      test cases/failing/113 cmake executable dependency/meson.build
  50. 0
      test cases/failing/113 cmake executable dependency/subprojects/cmlib/CMakeLists.txt
  51. 0
      test cases/failing/113 cmake executable dependency/subprojects/cmlib/main.c
  52. 2
      test cases/failing/113 cmake executable dependency/test.json
  53. 0
      test cases/failing/57 link with executable/meson.build
  54. 0
      test cases/failing/57 link with executable/module.c
  55. 0
      test cases/failing/57 link with executable/prog.c
  56. 2
      test cases/failing/57 link with executable/test.json
  57. 0
      test cases/failing/58 assign custom target index/meson.build
  58. 2
      test cases/failing/58 assign custom target index/test.json
  59. 0
      test cases/failing/59 getoption prefix/meson.build
  60. 0
      test cases/failing/59 getoption prefix/subprojects/abc/meson.build
  61. 0
      test cases/failing/59 getoption prefix/subprojects/abc/meson_options.txt
  62. 2
      test cases/failing/59 getoption prefix/test.json
  63. 0
      test cases/failing/60 bad option argument/meson.build
  64. 0
      test cases/failing/60 bad option argument/meson_options.txt
  65. 2
      test cases/failing/60 bad option argument/test.json
  66. 0
      test cases/failing/61 subproj filegrab/meson.build
  67. 0
      test cases/failing/61 subproj filegrab/prog.c
  68. 0
      test cases/failing/61 subproj filegrab/subprojects/a/meson.build
  69. 2
      test cases/failing/61 subproj filegrab/test.json
  70. 0
      test cases/failing/62 grab subproj/meson.build
  71. 0
      test cases/failing/62 grab subproj/subprojects/foo/meson.build
  72. 0
      test cases/failing/62 grab subproj/subprojects/foo/sub.c
  73. 2
      test cases/failing/62 grab subproj/test.json
  74. 0
      test cases/failing/63 grab sibling/meson.build
  75. 0
      test cases/failing/63 grab sibling/subprojects/a/meson.build
  76. 0
      test cases/failing/63 grab sibling/subprojects/b/meson.build
  77. 0
      test cases/failing/63 grab sibling/subprojects/b/sneaky.c
  78. 2
      test cases/failing/63 grab sibling/test.json
  79. 0
      test cases/failing/64 string as link target/meson.build
  80. 0
      test cases/failing/64 string as link target/prog.c
  81. 2
      test cases/failing/64 string as link target/test.json
  82. 0
      test cases/failing/65 dependency not-found and required/meson.build
  83. 2
      test cases/failing/65 dependency not-found and required/test.json
  84. 0
      test cases/failing/66 subproj different versions/main.c
  85. 0
      test cases/failing/66 subproj different versions/meson.build
  86. 0
      test cases/failing/66 subproj different versions/subprojects/a/a.c
  87. 0
      test cases/failing/66 subproj different versions/subprojects/a/a.h
  88. 0
      test cases/failing/66 subproj different versions/subprojects/a/meson.build
  89. 0
      test cases/failing/66 subproj different versions/subprojects/b/b.c
  90. 0
      test cases/failing/66 subproj different versions/subprojects/b/b.h
  91. 0
      test cases/failing/66 subproj different versions/subprojects/b/meson.build
  92. 0
      test cases/failing/66 subproj different versions/subprojects/c/c.h
  93. 0
      test cases/failing/66 subproj different versions/subprojects/c/meson.build
  94. 2
      test cases/failing/66 subproj different versions/test.json
  95. 0
      test cases/failing/67 wrong boost module/meson.build
  96. 2
      test cases/failing/67 wrong boost module/test.json
  97. 0
      test cases/failing/68 install_data rename bad size/file1.txt
  98. 0
      test cases/failing/68 install_data rename bad size/file2.txt
  99. 0
      test cases/failing/68 install_data rename bad size/meson.build
  100. 2
      test cases/failing/68 install_data rename bad size/test.json
  101. Some files were not shown because too many files have changed in this diff Show More

@ -2756,7 +2756,7 @@ class AllPlatformTests(BasePlatformTests):
self.run_tests()
def test_implicit_forcefallback(self):
testdir = os.path.join(self.unit_test_dir, '95 implicit force fallback')
testdir = os.path.join(self.unit_test_dir, '96 implicit force fallback')
with self.assertRaises(subprocess.CalledProcessError) as cm:
self.init(testdir)
self.init(testdir, extra_args=['--wrap-mode=forcefallback'])
@ -4016,9 +4016,9 @@ class AllPlatformTests(BasePlatformTests):
for (t, f) in [
('10 out of bounds', 'meson.build'),
('18 wrong plusassign', 'meson.build'),
('61 bad option argument', 'meson_options.txt'),
('102 subdir parse error', os.path.join('subdir', 'meson.build')),
('103 invalid option file', 'meson_options.txt'),
('60 bad option argument', 'meson_options.txt'),
('98 subdir parse error', os.path.join('subdir', 'meson.build')),
('99 invalid option file', 'meson_options.txt'),
]:
tdir = os.path.join(self.src_root, 'test cases', 'failing', t)

@ -1,7 +1,7 @@
{
"stdout": [
{
"line": "test cases/failing/104 no lang/meson.build:2:0: ERROR: No host machine compiler for \"main.c\""
"line": "test cases/failing/100 no lang/meson.build:2:0: ERROR: No host machine compiler for \"main.c\""
}
]
}

@ -1,7 +1,7 @@
{
"stdout": [
{
"line": "test cases/failing/105 no glib-compile-resources/meson.build:8:0: ERROR: Program 'glib-compile-resources' not found"
"line": "test cases/failing/101 no glib-compile-resources/meson.build:8:0: ERROR: Program 'glib-compile-resources' not found"
}
]
}

@ -1,7 +0,0 @@
{
"stdout": [
{
"line": "test cases/failing/101 no native compiler/meson.build:12:0: ERROR: No host machine compiler for \"main.c\""
}
]
}

@ -1,5 +1,5 @@
{
"stdout": [
{ "line": "test cases/failing/107 number in combo/meson.build:1:0: ERROR: Value \"1\" (of type \"number\") for combo option \"Optimization level\" is not one of the choices. Possible choices are (as string): \"0\", \"g\", \"1\", \"2\", \"3\", \"s\"." }
{ "line": "test cases/failing/102 number in combo/meson.build:1:0: ERROR: Value \"1\" (of type \"number\") for combo option \"Optimization level\" is not one of the choices. Possible choices are (as string): \"0\", \"g\", \"1\", \"2\", \"3\", \"s\"." }
]
}

@ -1,7 +0,0 @@
{
"stdout": [
{
"line": "test cases/failing/102 subdir parse error/subdir/meson.build:1:0: ERROR: Plusassignment target must be an id."
}
]
}

@ -1,5 +1,5 @@
{
"stdout": [
{ "line": "test cases/failing/108 bool in combo/meson.build:1:0: ERROR: Value \"True\" (of type \"boolean\") for combo option \"opt\" is not one of the choices. Possible choices are (as string): \"true\", \"false\"." }
{ "line": "test cases/failing/103 bool in combo/meson.build:1:0: ERROR: Value \"True\" (of type \"boolean\") for combo option \"opt\" is not one of the choices. Possible choices are (as string): \"true\", \"false\"." }
]
}

@ -1,7 +0,0 @@
{
"stdout": [
{
"line": "test cases/failing/103 invalid option file/meson_options.txt:1:0: ERROR: lexer"
}
]
}

@ -1,7 +1,7 @@
{
"stdout": [
{
"line": "test cases/failing/109 compiler no lang/meson.build:2:6: ERROR: Tried to access compiler for language \"c\", not specified for host machine."
"line": "test cases/failing/104 compiler no lang/meson.build:2:6: ERROR: Tried to access compiler for language \"c\", not specified for host machine."
}
]
}

@ -1,7 +1,7 @@
{
"stdout": [
{
"line": "test cases/failing/111 no build get_external_property/meson.build:3:0: ERROR: Unknown property for build machine: nonexisting"
"line": "test cases/failing/107 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/112 enter subdir twice/meson.build:3:0: ERROR: Tried to enter directory \"sub\", which has already been visited."
"line": "test cases/failing/108 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/113 invalid fstring/meson.build:4:0: ERROR: Identifier \"dict\" does not name a formattable variable (has to be an integer, a string, a floating point number or a boolean)."
"line": "test cases/failing/109 invalid fstring/meson.build:4:0: ERROR: Identifier \"dict\" does not name a formattable variable (has to be an integer, a string, a floating point number or a boolean)."
}
]
}

@ -1,7 +1,7 @@
{
"stdout": [
{
"line": "test cases/failing/114 invalid fstring/meson.build:3:0: ERROR: Identifier \"foo\" does not name a variable."
"line": "test cases/failing/110 invalid fstring/meson.build:3:0: ERROR: Identifier \"foo\" does not name a variable."
}
]
}

@ -1,7 +1,7 @@
{
"stdout": [
{
"line": "test cases/failing/115 compiler argument checking/meson.build:4:0: ERROR: Compiler for C does not support \"-meson-goober-arg-for-testing\""
"line": "test cases/failing/111 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/115 empty fallback/meson.build:6:0: ERROR: Dependency \"foo\" not found, tried pkgconfig and cmake"
"line": "test cases/failing/112 empty fallback/meson.build:6:0: ERROR: Dependency \"foo\" not found, tried pkgconfig and cmake"
}
]
}

@ -1,7 +1,7 @@
{
"stdout": [
{
"line": "test cases/failing/116 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/113 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/58 link with executable/meson.build:4:0: ERROR: Link target 'prog' is not linkable."
"line": "test cases/failing/57 link with executable/meson.build:4:0: ERROR: Link target 'prog' is not linkable."
}
]
}

@ -1,7 +1,7 @@
{
"stdout": [
{
"line": "test cases/failing/59 assign custom target index/meson.build:24:0: ERROR: Assignment target must be an id."
"line": "test cases/failing/58 assign custom target index/meson.build:24:0: ERROR: Assignment target must be an id."
}
]
}

@ -1,7 +1,7 @@
{
"stdout": [
{
"line": "test cases/failing/60 getoption prefix/meson.build:5:0: ERROR: Having a colon in option name is forbidden, projects are not allowed to directly access options of other subprojects."
"line": "test cases/failing/59 getoption prefix/meson.build:5:0: ERROR: Having a colon in option name is forbidden, projects are not allowed to directly access options of other subprojects."
}
]
}

@ -1,7 +1,7 @@
{
"stdout": [
{
"line": "test cases/failing/61 bad option argument/meson_options.txt:1:0: ERROR: Invalid kwargs for option \"name\": \"vaule\""
"line": "test cases/failing/60 bad option argument/meson_options.txt:1:0: ERROR: Invalid kwargs for option \"name\": \"vaule\""
}
]
}

@ -1,7 +1,7 @@
{
"stdout": [
{
"line": "test cases/failing/62 subproj filegrab/subprojects/a/meson.build:3:0: ERROR: Sandbox violation: Tried to grab file prog.c outside current (sub)project."
"line": "test cases/failing/61 subproj filegrab/subprojects/a/meson.build:3:0: ERROR: Sandbox violation: Tried to grab file prog.c outside current (sub)project."
}
]
}

@ -1,7 +1,7 @@
{
"stdout": [
{
"line": "test cases/failing/63 grab subproj/meson.build:7:0: ERROR: Sandbox violation: Tried to grab file sub.c from a nested subproject."
"line": "test cases/failing/62 grab subproj/meson.build:7:0: ERROR: Sandbox violation: Tried to grab file sub.c from a nested subproject."
}
]
}

@ -1,7 +1,7 @@
{
"stdout": [
{
"line": "test cases/failing/64 grab sibling/subprojects/a/meson.build:3:0: ERROR: Sandbox violation: Tried to grab file sneaky.c outside current (sub)project."
"line": "test cases/failing/63 grab sibling/subprojects/a/meson.build:3:0: ERROR: Sandbox violation: Tried to grab file sneaky.c outside current (sub)project."
}
]
}

@ -1,7 +1,7 @@
{
"stdout": [
{
"line": "test cases/failing/65 string as link target/meson.build:2:0: ERROR: '' is not a target."
"line": "test cases/failing/64 string as link target/meson.build:2:0: ERROR: '' is not a target."
}
]
}

@ -1,7 +1,7 @@
{
"stdout": [
{
"line": "test cases/failing/66 dependency not-found and required/meson.build:2:0: ERROR: Dependency is required but has no candidates."
"line": "test cases/failing/65 dependency not-found and required/meson.build:2:0: ERROR: Dependency is required but has no candidates."
}
]
}

@ -1,7 +1,7 @@
{
"stdout": [
{
"line": "test cases/failing/67 subproj different versions/subprojects/b/meson.build:3:0: ERROR: Dependency 'c' is required but not found."
"line": "test cases/failing/66 subproj different versions/subprojects/b/meson.build:3:0: ERROR: Dependency 'c' is required but not found."
}
]
}

@ -1,7 +1,7 @@
{
"stdout": [
{
"line": "test cases/failing/68 wrong boost module/meson.build:9:0: ERROR: Dependency \"boost\" not found, tried system"
"line": "test cases/failing/67 wrong boost module/meson.build:9:0: ERROR: Dependency \"boost\" not found, tried system"
}
]
}

@ -1,7 +1,7 @@
{
"stdout": [
{
"line": "test cases/failing/69 install_data rename bad size/meson.build:3:0: ERROR: \"rename\" and \"sources\" argument lists must be the same length if \"rename\" is given. Rename has 1 elements and sources has 2."
"line": "test cases/failing/68 install_data rename bad size/meson.build:3:0: ERROR: \"rename\" and \"sources\" argument lists must be the same length if \"rename\" is given. Rename has 1 elements and sources has 2."
}
]
}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save