meson/test cases/java
Eli Schwartz cf07596cf6 test cases: use best practices method to find the python3 program
We do not need the python module's find_installation() for this, as this
does various things to set up building and installing python modules
(pure python and C-API). This functionality is already tested in the
python tests.

Elsewhere, when we just need an interpreter capable of running python
scripts in order to guarantee a useful scripting language for custom
commands, it suffices to use find_program(), which does not run an
introspection script or do module imports, and is thus faster and
a bit cleaner.

Either way, both methods are guaranteed to find the python3 interpreter,
deferring to mesonlib.python_command for that guarantee.

test "71 summary" can sometimes return the python command with the
".exe" part all uppercased for mysterious Windows reasons. Smooth this
over with ExternalProgram.
2023-02-24 20:45:00 -05:00
..
1 basic docs: Add Environment variables for compiler/linker selection 2020-03-17 10:40:39 -07:00
2 subdir editorconfig: add setting to trim trailing whitespace 2021-08-15 09:36:18 -04:00
3 args editorconfig: add setting to trim trailing whitespace 2021-08-15 09:36:18 -04:00
4 inner class Make Java compilation work with inner classes. Closes #1157. 2016-12-12 21:01:10 +02:00
5 includedirs editorconfig: add setting to trim trailing whitespace 2021-08-15 09:36:18 -04:00
6 codegen editorconfig: add setting to trim trailing whitespace 2021-08-15 09:36:18 -04:00
7 linking java: add jar linking test 2018-07-03 21:33:54 +02:00
8 codegen custom target test cases: use best practices method to find the python3 program 2023-02-24 20:45:00 -05:00
9 jni Try to find the jni dependency when javac is a Darwin stub 2022-12-15 20:24:25 -06:00
10 resources Add ability to add resources to jars 2022-03-22 13:21:26 +02:00