Skip shared module test on VS because it fails for some reason nobody understands.

pull/1126/head
Jussi Pakkanen 8 years ago
parent 59fdb1b9ff
commit dc1f537fb3
  1. 1
      mesonbuild/backend/ninjabackend.py
  2. 1
      mesonbuild/backend/vs2010backend.py
  3. 1
      mesonbuild/backend/vs2015backend.py
  4. 1
      mesonbuild/backend/xcodebackend.py
  5. 4
      mesonbuild/interpreter.py
  6. 4
      test cases/common/125 shared module/meson.build

@ -139,6 +139,7 @@ class NinjaBackend(backends.Backend):
def __init__(self, build):
super().__init__(build)
self.name = 'ninja'
self.ninja_filename = 'build.ninja'
self.fortran_deps = {}
self.all_outputs = {}

@ -58,6 +58,7 @@ class RegenInfo():
class Vs2010Backend(backends.Backend):
def __init__(self, build):
super().__init__(build)
self.name = 'vs2010'
self.project_file_version = '10.0.30319.1'
self.sources_conflicts = {}
self.platform_toolset = None

@ -19,6 +19,7 @@ from .vs2010backend import Vs2010Backend
class Vs2015Backend(Vs2010Backend):
def __init__(self, build):
super().__init__(build)
self.name = 'vs2015'
self.platform_toolset = 'v140'
self.vs_version = '2015'

@ -22,6 +22,7 @@ from ..mesonlib import MesonException
class XCodeBackend(backends.Backend):
def __init__(self, build):
super().__init__(build)
self.name = 'xcode'
self.project_uid = self.environment.coredata.guid.replace('-', '')[:24]
self.project_conflist = self.gen_id()
self.indent = ' '

@ -1027,6 +1027,7 @@ class MesonMain(InterpreterObject):
'version': self.version_method,
'project_name' : self.project_name_method,
'get_cross_property': self.get_cross_property_method,
'backend' : self.backend_method,
})
def add_install_script_method(self, args, kwargs):
@ -1065,6 +1066,9 @@ class MesonMain(InterpreterObject):
return src
return os.path.join(src, sub)
def backend_method(self, args, kwargs):
return self.interpreter.backend.name
def source_root_method(self, args, kwargs):
return self.interpreter.environment.source_dir

@ -1,5 +1,9 @@
project('shared module', 'c')
if meson.backend().startswith('vs')
error('MESON_SKIP_TEST for some reason /FORCE does not work in the VS backend.')
endif
dl = meson.get_compiler('c').find_library('dl', required : false)
l = shared_library('runtime', 'runtime.c')
# Do NOT link the module with the runtime library. This

Loading…
Cancel
Save