Run Java 21 tests on Windows.
()
| 273 | |
| 274 | |
| 275 | def run_windows_java21(): |
| 276 | """Run Java 21 tests on Windows.""" |
| 277 | logging.info("Executing fory java tests on Windows with Java 21") |
| 278 | common.exec_cmd("java -version") |
| 279 | |
| 280 | common.cd_project_subdir("java") |
| 281 | # Use double quotes for Windows compatibility |
| 282 | if common.is_windows(): |
| 283 | common.exec_cmd( |
| 284 | 'mvn -T10 --batch-mode --no-transfer-progress test install -pl "!fory-testsuite"' |
| 285 | ) |
| 286 | else: |
| 287 | common.exec_cmd( |
| 288 | "mvn -T10 --batch-mode --no-transfer-progress test install -pl '!fory-testsuite'" |
| 289 | ) |
| 290 | |
| 291 | logging.info("Executing fory java tests succeeds") |
| 292 | |
| 293 | |
| 294 | def run_integration_tests(): |