Skip to content

Commit

Permalink
sherlodoc: Assign package to tests
Browse files Browse the repository at this point in the history
This is useful for running Odoc's tests alone, especially on < 4.08
  • Loading branch information
Julow committed Dec 13, 2024
1 parent 8b814e8 commit a212c0d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions sherlodoc/query/test/dune
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
(test
(name test)
(package sherlodoc)
(libraries alcotest query))
1 change: 1 addition & 0 deletions sherlodoc/test/cram/dune
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
(cram
(package sherlodoc)
(deps ../docs %{bin:odoc} %{bin:sherlodoc}))
1 change: 1 addition & 0 deletions sherlodoc/test/cram_ancient/dune
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
(cram
(package sherlodoc)
(enabled_if %{lib-available:ancient})
(deps %{bin:odoc} %{bin:sherlodoc}))
1 change: 1 addition & 0 deletions sherlodoc/test/cram_static/dune
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
(cram
(package sherlodoc)
(enabled_if
(and
(= %{version:menhirLib} 20230608)
Expand Down
1 change: 1 addition & 0 deletions sherlodoc/test/dune
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
(rule
(target
(dir docs))
(package sherlodoc)
(deps
(package base))
(action
Expand Down

0 comments on commit a212c0d

Please sign in to comment.