Disable failing Cygwin GIR test.

pull/8382/head
Jussi Pakkanen 4 years ago
parent 756ea32e06
commit add502c648
  1. 2
      run_unittests.py
  2. 4
      test cases/frameworks/11 gir subproject/meson.build
  3. 4
      test cases/frameworks/12 multiple gir/meson.build
  4. 4
      test cases/frameworks/22 gir link order/meson.build
  5. 4
      test cases/frameworks/28 gir link order 2/meson.build
  6. 4
      test cases/vala/11 generated vapi/meson.build

@ -3058,6 +3058,8 @@ class AllPlatformTests(BasePlatformTests):
@skip_if_not_base_option('b_lto_threads') @skip_if_not_base_option('b_lto_threads')
def test_lto_threads(self): def test_lto_threads(self):
if is_cygwin():
raise unittest.SkipTest('LTO is broken on Cygwin.')
testdir = os.path.join(self.common_test_dir, '6 linkshared') testdir = os.path.join(self.common_test_dir, '6 linkshared')
env = get_fake_env(testdir, self.builddir, self.prefix) env = get_fake_env(testdir, self.builddir, self.prefix)

@ -5,6 +5,10 @@ if not gir.found()
error('MESON_SKIP_TEST g-ir-scanner not found.') error('MESON_SKIP_TEST g-ir-scanner not found.')
endif endif
if build_machine.system() == 'cygwin'
error('MESON_SKIP_TEST GIR seems to be broken in Cygwin and no-one knows how to fix it. Thus we have to disable this.')
endif
python3 = import('python3') python3 = import('python3')
py3 = python3.find_python() py3 = python3.find_python()
if run_command(py3, '-c', 'import gi;').returncode() != 0 if run_command(py3, '-c', 'import gi;').returncode() != 0

@ -5,6 +5,10 @@ if not gir.found()
error('MESON_SKIP_TEST g-ir-scanner not found.') error('MESON_SKIP_TEST g-ir-scanner not found.')
endif endif
if build_machine.system() == 'cygwin'
error('MESON_SKIP_TEST GIR seems to be broken in Cygwin and no-one knows how to fix it. Thus we have to disable this.')
endif
gnome = import('gnome') gnome = import('gnome')
gobj = dependency('gobject-2.0') gobj = dependency('gobject-2.0')

@ -4,6 +4,10 @@ if not dependency('glib-2.0', required : false).found() or not find_program('g-i
error('MESON_SKIP_TEST glib not found.') error('MESON_SKIP_TEST glib not found.')
endif endif
if build_machine.system() == 'cygwin'
error('MESON_SKIP_TEST GIR seems to be broken in Cygwin and no-one knows how to fix it. Thus we have to disable this.')
endif
gnome = import('gnome') gnome = import('gnome')
glib = dependency('glib-2.0') glib = dependency('glib-2.0')
gobject = dependency('gobject-2.0') gobject = dependency('gobject-2.0')

@ -4,6 +4,10 @@ if not dependency('gobject-2.0', required : false).found() or not find_program('
error('MESON_SKIP_TEST gobject not found.') error('MESON_SKIP_TEST gobject not found.')
endif endif
if build_machine.system() == 'cygwin'
error('MESON_SKIP_TEST GIR seems to be broken in Cygwin and no-one knows how to fix it. Thus we have to disable this.')
endif
gnome = import('gnome') gnome = import('gnome')
gobject = dependency('gobject-2.0') gobject = dependency('gobject-2.0')

@ -1,5 +1,9 @@
project('vapi-test', ['c', 'vala']) project('vapi-test', ['c', 'vala'])
if build_machine.system() == 'cygwin'
error('MESON_SKIP_TEST GIR seems to be broken in Cygwin and no-one knows how to fix it. Thus we have to disable this.')
endif
gnome = import('gnome') gnome = import('gnome')
subdir('libfoo') subdir('libfoo')
subdir('libbar') subdir('libbar')

Loading…
Cancel
Save