From ef16fb2e973cf7d5aa4850decdc404be5389b8f3 Mon Sep 17 00:00:00 2001 From: Niclas Moeslund Overby Date: Wed, 16 May 2018 14:52:23 +0200 Subject: tests: Remove redundant test and include_directories('.') --- test cases/java/6 codegen/meson.build | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test cases/java/6 codegen/meson.build (limited to 'test cases/java/6 codegen/meson.build') diff --git a/test cases/java/6 codegen/meson.build b/test cases/java/6 codegen/meson.build new file mode 100644 index 000000000..f85d45ae0 --- /dev/null +++ b/test cases/java/6 codegen/meson.build @@ -0,0 +1,15 @@ +# If we generate code under the build directory then the backend needs to add +# the build directory to the -sourcepath passed to javac otherwise the compiler +# won't be able to handle the -implicit:class behaviour of automatically +# compiling dependency classes. + +project('codegenjava', 'java') + +subdir('com/mesonbuild') + +javaprog = jar('myprog', + config_file, + 'com/mesonbuild/Simple.java', + 'com/mesonbuild/TextPrinter.java', + main_class : 'com.mesonbuild.Simple') +test('subdirtest', javaprog) -- cgit v1.2.3