aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/java/9 jdk/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/java/9 jdk/meson.build')
-rw-r--r--meson/test cases/java/9 jdk/meson.build18
1 files changed, 18 insertions, 0 deletions
diff --git a/meson/test cases/java/9 jdk/meson.build b/meson/test cases/java/9 jdk/meson.build
new file mode 100644
index 000000000..310ba5e2a
--- /dev/null
+++ b/meson/test cases/java/9 jdk/meson.build
@@ -0,0 +1,18 @@
+project('jdkjava', ['c', 'java'])
+
+if build_machine.system() == 'cygwin'
+ error('MESON_SKIP_TEST: cygwin test failures')
+endif
+
+if build_machine.system() == 'windows' and build_machine.cpu_family() == 'x86'
+ error('MESON_SKIP_TEST: failing builds on 32bit Windows because a 32bit JDK isn not available in the Azure Pipelines Windows images')
+endif
+
+fs = import('fs')
+
+java = find_program('java')
+
+jdk = dependency('jdk', version : '>=1.8')
+
+subdir('lib')
+subdir('src')