run dircondensor.py

pull/6597/head
Dylan Baker 4 years ago
parent 3a4d8dde52
commit 4d2a17041f
  1. 14
      run_unittests.py
  2. 0
      test cases/cmake/20 cmake file/foolib.cmake.in
  3. 0
      test cases/cmake/20 cmake file/meson.build
  4. 0
      test cases/cmake/20 cmake file/test.json
  5. 0
      test cases/failing/107 number in combo/meson.build
  6. 0
      test cases/failing/107 number in combo/nativefile.ini
  7. 2
      test cases/failing/107 number in combo/test.json
  8. 0
      test cases/failing/108 bool in combo/meson.build
  9. 0
      test cases/failing/108 bool in combo/meson_options.txt
  10. 0
      test cases/failing/108 bool in combo/nativefile.ini
  11. 2
      test cases/failing/108 bool in combo/test.json
  12. 0
      test cases/unit/77 pkgconfig prefixes/client/client.c
  13. 0
      test cases/unit/77 pkgconfig prefixes/client/meson.build
  14. 0
      test cases/unit/77 pkgconfig prefixes/val1/meson.build
  15. 0
      test cases/unit/77 pkgconfig prefixes/val1/val1.c
  16. 0
      test cases/unit/77 pkgconfig prefixes/val1/val1.h
  17. 0
      test cases/unit/77 pkgconfig prefixes/val2/meson.build
  18. 0
      test cases/unit/77 pkgconfig prefixes/val2/val2.c
  19. 0
      test cases/unit/77 pkgconfig prefixes/val2/val2.h
  20. 0
      test cases/unit/78 subdir libdir/meson.build
  21. 0
      test cases/unit/78 subdir libdir/subprojects/flub/meson.build
  22. 0
      test cases/unit/79 user options for subproject/75 user options for subproject/.gitignore
  23. 0
      test cases/unit/79 user options for subproject/75 user options for subproject/meson.build
  24. 0
      test cases/unit/80 global-rpath/meson.build
  25. 0
      test cases/unit/80 global-rpath/rpathified.cpp
  26. 0
      test cases/unit/80 global-rpath/yonder/meson.build
  27. 0
      test cases/unit/80 global-rpath/yonder/yonder.cpp
  28. 0
      test cases/unit/80 global-rpath/yonder/yonder.h
  29. 0
      test cases/unit/81 wrap-git/meson.build
  30. 0
      test cases/unit/81 wrap-git/subprojects/packagefiles/wrap_git_builddef/meson.build
  31. 0
      test cases/unit/81 wrap-git/subprojects/wrap_git_upstream/main.c

@ -5014,7 +5014,7 @@ recommended as it is not supported on some platforms''')
def test_wrap_git(self): def test_wrap_git(self):
with tempfile.TemporaryDirectory() as tmpdir: with tempfile.TemporaryDirectory() as tmpdir:
srcdir = os.path.join(tmpdir, 'src') srcdir = os.path.join(tmpdir, 'src')
shutil.copytree(os.path.join(self.unit_test_dir, '78 wrap-git'), srcdir) shutil.copytree(os.path.join(self.unit_test_dir, '81 wrap-git'), srcdir)
upstream = os.path.join(srcdir, 'subprojects', 'wrap_git_upstream') upstream = os.path.join(srcdir, 'subprojects', 'wrap_git_upstream')
upstream_uri = Path(upstream).as_uri() upstream_uri = Path(upstream).as_uri()
_git_init(upstream) _git_init(upstream)
@ -6473,7 +6473,7 @@ class LinuxlikeTests(BasePlatformTests):
if is_osx(): if is_osx():
raise unittest.SkipTest('Global RPATHs via LDFLAGS not yet supported on MacOS (does anybody need it?)') raise unittest.SkipTest('Global RPATHs via LDFLAGS not yet supported on MacOS (does anybody need it?)')
testdir = os.path.join(self.unit_test_dir, '77 global-rpath') testdir = os.path.join(self.unit_test_dir, '80 global-rpath')
oldinstalldir = self.installdir oldinstalldir = self.installdir
# Build and install an external library without DESTDIR. # Build and install an external library without DESTDIR.
@ -6846,7 +6846,7 @@ class LinuxlikeTests(BasePlatformTests):
oldinstalldir = self.installdir oldinstalldir = self.installdir
# Build and install both external libraries without DESTDIR # Build and install both external libraries without DESTDIR
val1dir = os.path.join(self.unit_test_dir, '76 pkgconfig prefixes', 'val1') val1dir = os.path.join(self.unit_test_dir, '77 pkgconfig prefixes', 'val1')
val1prefix = os.path.join(oldinstalldir, 'val1') val1prefix = os.path.join(oldinstalldir, 'val1')
self.prefix = val1prefix self.prefix = val1prefix
self.installdir = val1prefix self.installdir = val1prefix
@ -6857,7 +6857,7 @@ class LinuxlikeTests(BasePlatformTests):
env1 = {} env1 = {}
env1['PKG_CONFIG_PATH'] = os.path.join(val1prefix, self.libdir, 'pkgconfig') env1['PKG_CONFIG_PATH'] = os.path.join(val1prefix, self.libdir, 'pkgconfig')
val2dir = os.path.join(self.unit_test_dir, '76 pkgconfig prefixes', 'val2') val2dir = os.path.join(self.unit_test_dir, '77 pkgconfig prefixes', 'val2')
val2prefix = os.path.join(oldinstalldir, 'val2') val2prefix = os.path.join(oldinstalldir, 'val2')
self.prefix = val2prefix self.prefix = val2prefix
self.installdir = val2prefix self.installdir = val2prefix
@ -6869,7 +6869,7 @@ class LinuxlikeTests(BasePlatformTests):
# Build, install, and run the client program # Build, install, and run the client program
env2 = {} env2 = {}
env2['PKG_CONFIG_PATH'] = os.path.join(val2prefix, self.libdir, 'pkgconfig') env2['PKG_CONFIG_PATH'] = os.path.join(val2prefix, self.libdir, 'pkgconfig')
testdir = os.path.join(self.unit_test_dir, '76 pkgconfig prefixes', 'client') testdir = os.path.join(self.unit_test_dir, '77 pkgconfig prefixes', 'client')
testprefix = os.path.join(oldinstalldir, 'client') testprefix = os.path.join(oldinstalldir, 'client')
self.prefix = testprefix self.prefix = testprefix
self.installdir = testprefix self.installdir = testprefix
@ -7180,7 +7180,7 @@ class LinuxCrossArmTests(BaseLinuxCrossTests):
def test_cross_libdir_subproject(self): def test_cross_libdir_subproject(self):
# Guard against a regression where calling "subproject" # Guard against a regression where calling "subproject"
# would reset the value of libdir to its default value. # would reset the value of libdir to its default value.
testdir = os.path.join(self.unit_test_dir, '76 subdir libdir') testdir = os.path.join(self.unit_test_dir, '78 subdir libdir')
self.init(testdir, extra_args=['--libdir=fuf']) self.init(testdir, extra_args=['--libdir=fuf'])
for i in self.introspect('--buildoptions'): for i in self.introspect('--buildoptions'):
if i['name'] == 'libdir': if i['name'] == 'libdir':
@ -8017,7 +8017,7 @@ class NativeFileTests(BasePlatformTests):
self.init(testcase, extra_args=['--native-file', config, '-Dother_one=false']) self.init(testcase, extra_args=['--native-file', config, '-Dother_one=false'])
def test_user_options_subproject(self): def test_user_options_subproject(self):
testcase = os.path.join(self.unit_test_dir, '75 user options for subproject') testcase = os.path.join(self.unit_test_dir, '79 user options for subproject')
s = os.path.join(testcase, 'subprojects') s = os.path.join(testcase, 'subprojects')
if not os.path.exists(s): if not os.path.exists(s):

@ -1,5 +1,5 @@
{ {
"stdout": [ "stdout": [
{ "line": "test cases/failing/106 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/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\"." }
] ]
} }

@ -1,5 +1,5 @@
{ {
"stdout": [ "stdout": [
{ "line": "test cases/failing/107 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/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\"." }
] ]
} }
Loading…
Cancel
Save