Skip to content

Commit

Permalink
odoc-parser.opam: Fix test invokation
Browse files Browse the repository at this point in the history
The previous rule was attempting to run odoc's test when building
odoc-parser only.
  • Loading branch information
Julow committed Dec 12, 2023
1 parent 8cf421e commit 8a9668b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions odoc-parser.opam
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ build: [
"-j"
jobs
"@install"
"@runtest" {with-test}
# Tests are not all associated with a package and would be run if using the
# default '@runtest'.
"@src/parser/runtest" {with-test}
]
]

1 change: 1 addition & 0 deletions src/parser/test/dune
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
(library
(name odoc_parser_test)
(package odoc-parser)
(inline_tests)
(enabled_if
(>= %{ocaml_version} 4.04.1))
Expand Down

0 comments on commit 8a9668b

Please sign in to comment.