aboutsummaryrefslogtreecommitdiff
blob: e5705519746bdf2beaada8fe44f343b6f3b9dd96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
From 9015f66fae0eddaac7080fd0ef164015c7d73865 Mon Sep 17 00:00:00 2001
From: Alessandro-Barbieri <lssndrbarbieri@gmail.com>
Date: Sat, 16 Apr 2022 20:10:49 +0200
Subject: [PATCH] use ounit2

Signed-off-by: Alessandro-Barbieri <lssndrbarbieri@gmail.com>
---
 .merlin  | 2 +-
 _oasis   | 2 +-
 _tags    | 4 ++--
 opam     | 2 +-
 setup.ml | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/.merlin b/.merlin
index f18d84c..e5b208a 100644
--- a/.merlin
+++ b/.merlin
@@ -1,7 +1,7 @@
 PRJ pci
 PKG ctypes
 PKG ctypes.stubs
-PKG oUnit
+PKG ounit2
 
 S lib
 S lib_test
diff --git a/_oasis b/_oasis
index 53db238..0443598 100644
--- a/_oasis
+++ b/_oasis
@@ -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
diff --git a/_tags b/_tags
index 81eaa26..b8e20fc 100644
--- a/_tags
+++ b/_tags
@@ -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
diff --git a/opam b/opam
index bc03b69..6e5e197 100644
--- a/opam
+++ b/opam
@@ -21,7 +21,7 @@ remove: [
 depends: [
   "ctypes" {>= "0.4"}
   "ocamlfind" {build}
-  "ounit" {test}
+  "ounit2" {test}
 ]
 available: [ocaml-version >= "4.01.0" & os = "linux"]
 depexts: [
diff --git a/setup.ml b/setup.ml
index c3907bf..b1f3074 100644
--- a/setup.ml
+++ b/setup.ml
@@ -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 =