Skip to content

Commit 59ebebe

Browse files
committed
odoc-parser.opam: Fix test invokation
The previous rule was attempting to run odoc's test when building odoc-parser only.
1 parent 0448a46 commit 59ebebe

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

odoc-parser.opam

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ build: [
3131
"-j"
3232
jobs
3333
"@install"
34-
"@runtest" {with-test}
34+
# Tests are not all associated with a package and would be run if using the
35+
# default '@runtest'.
36+
"@src/parser/runtest" {with-test}
3537
]
3638
]
37-

src/parser/test/dune

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
(library
22
(name odoc_parser_test)
3+
(package odoc-parser)
34
(inline_tests)
45
(enabled_if
56
(>= %{ocaml_version} 4.04.1))

0 commit comments

Comments
 (0)