Skip to content

Commit

Permalink
Refactor tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
dboris committed May 22, 2024
1 parent 2f43dd6 commit cfc6084
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
(name camlkit)
(version 0.1.1)

(generate_opam_files true)
(generate_opam_files false)

(source (github dboris/camlkit))

Expand Down
10 changes: 2 additions & 8 deletions test/dune → test/test-camlkit-base/dune
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
(test
(name test_objc)
(modules test_objc)
(package camlkit-base)
(build_if (= %{context_name} "default"))
(libraries camlkit-base.foundation camlkit-base.runtime alcotest))

(test
(name test_camlkit)
(modules test_camlkit)
(build_if (and
%{lib-available:camlkit}
(= %{context_name} "default")))
(libraries camlkit-base.foundation camlkit-base.runtime camlkit alcotest))

(test
(name test_stret)
(modules test_stret)
(package camlkit-base)
(build_if (= %{context_name} "default"))
(libraries camlkit-base.foundation camlkit-base.runtime alcotest))
File renamed without changes.
File renamed without changes.
6 changes: 6 additions & 0 deletions test/test-camlkit/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(test
(name test_camlkit)
(modules test_camlkit)
(package camlkit)
(build_if (= %{context_name} "default"))
(libraries camlkit-base.foundation camlkit-base.runtime camlkit alcotest))
File renamed without changes.

0 comments on commit cfc6084

Please sign in to comment.