Repository navigation
tests/tools: shared mvn resolver, Windows-safe argline split, bare-mvn guard (Part of #4939) - #4967
Conversation
…rd against a bare mvn argv (Part of #4939) Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
PR #4967 @ 668e0fa: 4 failed check(s) == db2 1/4 (failure) -- infra == db2 3/4 (failure) -- infra == db2 4/4 (failure) -- infra == det (failure) -- real |
Part of #4939.
What:
tests/tools/maven_exe.py::mvn_executable(env=None)is the one Maven resolver (shutil.which, somvn.cmdon Windows; baremvnwhen not found). Every bare"mvn"argv in tests/tools now goes through it.equivalence_java.split_arglinereplaces POSIX-modeshlex.splitin_run_direct(posix only off Windows). Newtest_maven_exe_4939.pymonkeypatchesshutil.which/os.name, so it runs on Linux, and an AST guard fails on a new literal"mvn"argv in tests/tools.Class: Windows-unportable subprocess invocations in tests/tools
which() or "mvn")shlex.splitin_run_directsplit_argline), tested both modestest_mutation_toolingassertsmvn[0] == "mvn";test_no_jcl_batch_controllerbare mvnnpm(npm.cmd) incallgraph_refs.py:141Note: the issue's list omitted det_survey's second/third site and scip_callgraph; the new guard found them.
Gates:
pr_gates --fast5/5,--ratchets7/7 (none skipped). No engine change, no golden impact.🤖 Generated with Claude Code