Skip to content

tests: Windows sibling gaps of #4934 -- bare mvn executable and POSIX shlex.split in equivalence_java #4939

Closed

Description

@squid-protocol

Sibling gaps of #4934 (class: POSIX-only calls reached on Windows). #4934 / PR #4937 fixed the members that fail in the Windows Full Suite Gate today. These members are not reached on Windows by the suite yet, but they would break once a Windows run gets there.

Member Where Problem
bare "mvn" executable det_survey, cics_crucible, java_target_matrix, devin_port, thirdparty_port, ibm_wca4z_port, equivalence_java, mutation (tests/tools) On Windows, Maven ships as mvn.cmd, and subprocess without shell=True won't find a bare mvn. Resolve it once through a shared helper (shutil.which("mvn")).
shlex.split(argline) in POSIX mode tests/tools/equivalence_java._run_direct POSIX mode strips the backslashes out of Windows paths in the -Dequivalence.* properties. Use posix=(os.name != "nt"), or pass the args as a list.

Acceptance: each member resolves the executable or splits the args correctly on Windows. One shared helper for the Maven path, with a test that monkeypatches shutil.which / os.name, so it is checked on Linux too. Extend the #4934 guard test, or add a sibling check, so that a new bare "mvn" in a subprocess call fails.

Siblings: #4934

🤖 Generated with Claude Code

Activity

  1. added
    bug
    testing
    on Oct 12, 2026
  2. added a commit that references this issue on Oct 12, 2026
  3. squid-protocol commented on Oct 12, 2026

    @squid-protocol
    OwnerAuthor

    Siblings: #4969 (npm.cmd, gap from the class sweep in #4967)

  4. added
    scope:infra
    on Oct 16, 2026
  5. squid-protocol commented on Oct 17, 2026

    @squid-protocol
    OwnerAuthor

    Both table members landed in #4967 and the remaining same-mechanism siblings in #5351; the one leftover (batch_test_harness _MVN_BIN) already resolves via shutil.which and no burned program needs it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugscope:infratesting

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions