Skip to content

Commit

Permalink
build: Use ounit2 (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessandro-Barbieri authored Apr 21, 2022
1 parent 936cff8 commit 334611a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .merlin
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PRJ pci
PKG ctypes
PKG ctypes.stubs
PKG oUnit
PKG ounit2

S lib
S lib_test
Expand Down
2 changes: 1 addition & 1 deletion _oasis
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Executable test_pci
CompiledObject: best
ByteOpt: -warn-error +1..45
NativeOpt: -warn-error +1..45
BuildDepends: pci, oUnit
BuildDepends: pci, ounit2

Test test_pci
Command: $test_pci -runner sequential
Expand Down
4 changes: 2 additions & 2 deletions _tags
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ true: annot, bin_annot
<lib_test/test_pci.{native,byte}>: oasis_executable_test_pci_native
<lib_test/*.ml{,i,y}>: oasis_executable_test_pci_native
<lib_test/test_pci.{native,byte}>: pkg_ctypes.stubs
<lib_test/test_pci.{native,byte}>: pkg_oUnit
<lib_test/test_pci.{native,byte}>: pkg_ounit2
<lib_test/test_pci.{native,byte}>: use_pci
<lib_test/test_pci.{native,byte}>: use_pci_bindings
<lib_test/*.ml{,i,y}>: pkg_ctypes.stubs
<lib_test/*.ml{,i,y}>: pkg_oUnit
<lib_test/*.ml{,i,y}>: pkg_ounit2
<lib_test/*.ml{,i,y}>: use_pci
<lib_test/*.ml{,i,y}>: use_pci_bindings
# Executable lspci
Expand Down
2 changes: 1 addition & 1 deletion opam
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ remove: [
depends: [
"ctypes" {>= "0.4"}
"ocamlfind" {build}
"ounit" {test}
"ounit2" {test}
]
available: [ocaml-version >= "4.01.0" & os = "linux"]
depexts: [
Expand Down
2 changes: 1 addition & 1 deletion setup.ml
Original file line number Diff line number Diff line change
Expand Up @@ -7681,7 +7681,7 @@ let setup_t =
bs_build_depends =
[
InternalLibrary "pci";
FindlibPackage ("oUnit", None)
FindlibPackage ("ounit2", None)
];
bs_build_tools = [ExternalTool "ocamlbuild"];
bs_interface_patterns =
Expand Down

0 comments on commit 334611a

Please sign in to comment.