Skip to content

Fail to promote over a non-existing file #8075

@Julow

Description

@Julow

Expected Behavior

The testsuite demonstrate that this is possible in test/blackbox-tests/test-cases/promote/non-existent.t/run.t
My reproduction looks very similar to this test but fail with an error.

Actual Behavior

dune build @bench:

File "dune", line 3, characters 0-55:
3 | (rule
4 |  (alias bench)
5 |  (action
6 |   (diff promoted x.gen)))
Error: Unable to resolve symlink _build/default/promoted

Reproduction

The reproduction is at https://gist.github.com/Julow/961080a45a58b964fd1bca7892445034

Specifications

  • Dune 3.8.2

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions