summaryrefslogtreecommitdiff
path: root/test cases/java/8 codegen custom target/com
AgeCommit message (Collapse)Author
2023-02-24test cases: use best practices method to find the python3 programEli Schwartz
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.
2018-11-07tests/java: force latency in generation to exercise raceDylan Baker
Because we are racing here. In reality *all* of the java in that target may rely on the generated file, so we need to block all of them, like we would for headers in C/C++.
2018-11-02ninjabackend: add generated source files to jar compile target source listAurélien Zanelli
Otherwise, passing result of custom_target() to jar() target is ignored and won't be compiled resulting in build fail.