diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2017-04-05 23:22:39 +0100 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2017-04-06 22:48:02 +0100 |
commit | 90a483fa74434b0ed25bd960eb0535e06f641d69 (patch) | |
tree | aa988a546c42f2b0ad7fd7dbdab33a0bf607f18c | |
parent | 45a3bd8661210aae1d1baeffbd8ca2b3e8ae0900 (diff) | |
download | meson-90a483fa74434b0ed25bd960eb0535e06f641d69.zip meson-90a483fa74434b0ed25bd960eb0535e06f641d69.tar.gz meson-90a483fa74434b0ed25bd960eb0535e06f641d69.tar.bz2 |
Skip some linuxlike tests which don't work on Cygwin
3 files changed, 12 insertions, 0 deletions
diff --git a/test cases/linuxlike/10 large file support/meson.build b/test cases/linuxlike/10 large file support/meson.build index aa4eccf..6683345 100644 --- a/test cases/linuxlike/10 large file support/meson.build +++ b/test cases/linuxlike/10 large file support/meson.build @@ -1,5 +1,9 @@ project('trivial test', 'c') +if host_machine.system() == 'cygwin' + error('MESON_SKIP_TEST _FILE_OFFSET_BITS not yet supported on Cygwin.') +endif + cc = meson.get_compiler('c') size = cc.sizeof('off_t') diff --git a/test cases/linuxlike/7 library versions/meson.build b/test cases/linuxlike/7 library versions/meson.build index 48b75ad..451e42e 100644 --- a/test cases/linuxlike/7 library versions/meson.build +++ b/test cases/linuxlike/7 library versions/meson.build @@ -1,5 +1,9 @@ project('library versions', 'c') +if host_machine.system() == 'cygwin' + error('MESON_SKIP_TEST linuxlike soversions not supported on Cygwin.') +endif + some = shared_library('some', 'lib.c', version : '1.2.3', soversion : '0', diff --git a/test cases/linuxlike/8 subproject library install/meson.build b/test cases/linuxlike/8 subproject library install/meson.build index 63e57cf..ff55799 100644 --- a/test cases/linuxlike/8 subproject library install/meson.build +++ b/test cases/linuxlike/8 subproject library install/meson.build @@ -2,5 +2,9 @@ project('subproj lib install', 'c', version : '2.3.4', license : 'mylicense') +if host_machine.system() == 'cygwin' + error('MESON_SKIP_TEST linuxlike soversions not supported on Cygwin.') +endif + # Test that the subproject library gets installed subproject('sublib', version : '1.0.0') |