Skip to content

test/d_acceptance is unrun and 165/166 files no longer compile; test/debug_alloc's expect-stdout lines are checked by no lane #1865

Closed

Description

@ehartford

Two fixture directories whose //! expect-stdout: lines nothing checks

Measured for #1855 (exact-stdout runner) with the release binary at 4a94056:

  • test/d_acceptance/ (181 files, 192 expect-stdout directives): no build.w target runs it (only docs mention it). 165 of the 166 files with a stdout expectation do not compile under §18.1 explicit imports (print_i32, int_to_string, HashMap, write, Task need a use). Many are byte-copies of test/behavior fixtures. Either it is registered as a lane and repaired, or it is retired.
  • test/debug_alloc/ (33 files with 245 expect-stdout directives): the lane is tools/debug_drop.w check, which asserts only //! expect-debug-alloc:; the expect-stdout lines are never compared with the program's output. The runner now accepts the debug-alloc directives as another tool's, so with test test/debug_alloc/x.w checks the stdout lines exactly; the lane itself should too, or the directives should go.

Per "a tool that stayed silent is a bug". Not touched by the #1855 change beyond the runner recognising expect-debug-alloc:/debug-alloc-filter:.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions