Expected Behavior
I have a custom test in my code base that is defined this way:
(tests
(names test_json_parsing)
(libraries yojson stork test_utils)
(deps
(glob_files *.json))
(flags
(:standard -linkall -g -open StdLabels -w +A-48-42-40-70)))
With lang dune 2.9, the project builds and the tests work.
Actual Behavior
If I upgrad lang dune from 2.9 to 3.3, when building it complains with the following error:
$ dune build
File "test/single_version/dune", line 18, characters 8-25:
18 | (names test_json_parsing)
^^^^^^^^^^^^^^^^^
Fatal error: exception Sys_error("single_version_1.json: No such file or directory")
Reproduction
- clone https://github.com/dialohq/stork/tree/4afdd91b2567657332ddc57d6125adad1cf4c4f2
dune build and see that it works
- now change lang dune in
dune-project from 2.9 to anything starting from 3.0, like 3.3
dune build and see the error
Specifications
- Version of
dune (output of dune --version): 3.3.1
- Version of
ocaml (output of ocamlc --version): 4.14.0
- Operating system (distribution and version): macOS 12.4
Additional information
Expected Behavior
I have a custom test in my code base that is defined this way:
With lang dune 2.9, the project builds and the tests work.
Actual Behavior
If I upgrad lang dune from 2.9 to 3.3, when building it complains with the following error:
Reproduction
dune buildand see that it worksdune-projectfrom 2.9 to anything starting from 3.0, like 3.3dune buildand see the errorSpecifications
dune(output ofdune --version): 3.3.1ocaml(output ofocamlc --version): 4.14.0Additional information
dunewith the--verboseflag):https://gist.github.com/tsnobip/0db53ab4aed59bc7d1294171317cb59e