Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dune rules @runtest is empty in a folder containing a cram test #11505

Open
Khady opened this issue Feb 27, 2025 · 0 comments
Open

dune rules @runtest is empty in a folder containing a cram test #11505

Khady opened this issue Feb 27, 2025 · 0 comments
Labels
cram Related to the cram test execution in Dune needs-investigation rule Internal dune rules

Comments

@Khady
Copy link
Contributor

Khady commented Feb 27, 2025

Expected Behavior

dune rules @runtest in a folder which contains a cram test should show the rules related to that cram test.

Actual Behavior

dune rules @runtest shows nothing

Reproduction

https://github.com/Khady/dune-demo/tree/master/dune-rules-cram

~/Code/github/dune-demo/dune-rules-cram$ cat dune
(cram (deps sub/file.json))
~/Code/github/dune-demo/dune-rules-cram$ cat run.t
  $ pwd

  $ tree -a
~/Code/github/dune-demo/dune-rules-cram$ dune rules @runtest
~/Code/github/dune-demo/dune-rules-cram$ dune build @runtest
File "run.t", line 1, characters 0-0:
------ run.t
++++++ run.t.corrected
File "run.t", line 2, characters 0-1:
 |  $ pwd
+|  $TESTCASE_ROOT
 |
 |  $ tree -a
+|  .
+|  `-- sub
+|      `-- file.json -> ../../../../default/sub/file.json
+|  
+|  2 directories, 1 file

Specifications

  • Version of dune (output of dune --version): 3.17
  • Version of ocaml (output of ocamlc --version): 5.2
  • Operating system (distribution and version): debian
@maiste maiste added cram Related to the cram test execution in Dune rule Internal dune rules needs-investigation labels Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cram Related to the cram test execution in Dune needs-investigation rule Internal dune rules
Projects
None yet
Development

No branches or pull requests

2 participants