Skip to content

Commit

Permalink
fix ounit test setup, run them in dns.opam
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesm committed Feb 28, 2019
1 parent 1672450 commit c61ce71
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions dns.opam
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,12 @@ depends: [
"base64" {>= "3.0.0"}
"hashcons"
"result"
"pcap-format" {with-test}
"ounit" {with-test}
]
build: [
["dune" "subst"] {pinned}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
dev-repo: "git+https://github.com/mirage/ocaml-dns.git"
2 changes: 1 addition & 1 deletion lib_test/ounit/dune
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(test
(name test)
(libraries dns ounit pcap-format)
(libraries dns oUnit pcap-format)
(package dns)
(deps (glob_files *.pcap) (glob_files *.zone))
(preprocess (pps ppx_cstruct)))

0 comments on commit c61ce71

Please sign in to comment.