Skip to content

Spaces in path -> cram tests -> failure #4162

@Kakadu

Description

@Kakadu

Expected Behavior

Cram tests pass

Actual Behavior

Cram tests fail

Reproduction

➜  pwd
/tmp/aaa bbb
➜  dune init library lib1 --inline-tests && dune build && echo '(cram enable)' >> dune-project && echo "  $ echo 1" > a.t && dune runtest
Success: initialized library component named lib1
Info: Creating file dune-project with this contents:
| (lang dune 2.8)
          sh (internal) (exit 1)
(cd _build/.sandbox/adbc1e20125dd3d84ef2b4a89103342d/default && /bin/sh /tmp/dune.cram.186a8ca.t/main.sh)
/tmp/dune.cram.186a8ca.t/main.sh: 5: printf: bbb/_build/.sandbox/adbc1e20125dd3d84ef2b4a89103342d/default:$TMPDIR=/tmp/dune.cram.186a8ca.t/tmp: expected numeric value

Specifications

  • 2.7.1 <= dune <= 2.8.2
  • 4.10.1
  • Ubuntu GNU/Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    acknowledgedcramRelated to the cram test execution in Dune

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions