aboutsummaryrefslogtreecommitdiff
blob: d2d1ec5829d509c94a86cf54c5115fb8398a0a75 (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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
From c0352e7e1c2fdbc22e06dedb839831f5694d7429 Mon Sep 17 00:00:00 2001
From: Alessandro-Barbieri <lssndrbarbieri@gmail.com>
Date: Sat, 16 Apr 2022 18:36:24 +0200
Subject: [PATCH] switch to ounit2

Signed-off-by: Alessandro-Barbieri <lssndrbarbieri@gmail.com>
---
 README.md         | 2 +-
 ipaddr-sexp.opam  | 2 +-
 ipaddr.opam       | 4 ++--
 lib_test/dune     | 8 ++++----
 macaddr-sexp.opam | 2 +-
 macaddr.opam      | 4 ++--
 6 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/README.md b/README.md
index 6e1ec56..4aace13 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@ A library for manipulation of IP and MAC address representations.
 
 Features:
 
- * oUnit-based tests
+ * ounit2-based tests
  * IPv4 and IPv6 support
  * IPv4 and IPv6 CIDR prefix support
  * IPv4 and IPv6 [CIDR-scoped address](http://tools.ietf.org/html/rfc4291#section-2.3) support
diff --git a/ipaddr-sexp.opam b/ipaddr-sexp.opam
index 735ad08..4f4be93 100644
--- a/ipaddr-sexp.opam
+++ b/ipaddr-sexp.opam
@@ -16,7 +16,7 @@ depends: [
   "dune" {>= "1.9.0"}
   "ipaddr" {= version}
   "ipaddr-cstruct" {with-test & = version}
-  "ounit" {with-test}
+  "ounit2" {with-test}
   "ppx_sexp_conv" {>= "v0.9.0"}
   "sexplib0"
 ]
diff --git a/ipaddr.opam b/ipaddr.opam
index 240d9c8..02f5570 100644
--- a/ipaddr.opam
+++ b/ipaddr.opam
@@ -5,7 +5,7 @@ synopsis: "A library for manipulation of IP (and MAC) address representations"
 description: """
 Features:
  * Depends only on sexplib (conditionalization under consideration)
- * oUnit-based tests
+ * ounit2-based tests
  * IPv4 and IPv6 support
  * IPv4 and IPv6 CIDR prefix support
  * IPv4 and IPv6 [CIDR-scoped address](http://tools.ietf.org/html/rfc4291#section-2.3) support
@@ -32,7 +32,7 @@ depends: [
   "macaddr" {= version}
   "stdlib-shims"
   "domain-name" {>= "0.3.0"}
-  "ounit" {with-test}
+  "ounit2" {with-test}
   "ppx_sexp_conv" {with-test & >= "v0.9.0"}
 ]
 build: [
diff --git a/lib_test/dune b/lib_test/dune
index 8dd7d27..fc6f285 100644
--- a/lib_test/dune
+++ b/lib_test/dune
@@ -27,22 +27,22 @@
  (name test_ipaddr)
  (package ipaddr-sexp)
  (modules test_ipaddr)
- (libraries ipaddr ipaddr-cstruct test_ipaddr_sexp oUnit))
+ (libraries ipaddr ipaddr-cstruct test_ipaddr_sexp ounit2))
 
 (test
  (name test_ipaddr_b128)
  (package ipaddr-sexp)
  (modules test_ipaddr_b128 ipaddr_internal)
- (libraries ipaddr ipaddr-cstruct test_ipaddr_sexp oUnit))
+ (libraries ipaddr ipaddr-cstruct test_ipaddr_sexp ounit2))
 
 (test
  (name test_macaddr)
  (package macaddr-sexp)
  (modules test_macaddr)
- (libraries macaddr macaddr-cstruct test_macaddr_sexp oUnit))
+ (libraries macaddr macaddr-cstruct test_macaddr_sexp ounit2))
 
 (test
  (name test_ppx)
  (modules test_ppx)
  (package ipaddr-sexp)
- (libraries ipaddr macaddr test_ipaddr_sexp test_macaddr_sexp oUnit))
+ (libraries ipaddr macaddr test_ipaddr_sexp test_macaddr_sexp ounit2))
diff --git a/macaddr-sexp.opam b/macaddr-sexp.opam
index 26e6fcf..e7773fe 100644
--- a/macaddr-sexp.opam
+++ b/macaddr-sexp.opam
@@ -12,7 +12,7 @@ depends: [
   "dune" {>= "1.9.0"}
   "macaddr" {= version}
   "macaddr-cstruct" {with-test & = version}
-  "ounit" {with-test}
+  "ounit2" {with-test}
   "ppx_sexp_conv" {>= "v0.9.0"}
   "sexplib0"
 ]
diff --git a/macaddr.opam b/macaddr.opam
index 13fcf31..6e2106f 100644
--- a/macaddr.opam
+++ b/macaddr.opam
@@ -10,7 +10,7 @@ bug-reports: "https://github.com/mirage/ocaml-ipaddr/issues"
 depends: [
   "ocaml" {>= "4.04.0"}
   "dune" {>= "1.9.0"}
-  "ounit" {with-test}
+  "ounit2" {with-test}
   "ppx_sexp_conv" {with-test & >= "v0.9.0"}
 ]
 conflicts: [ "ipaddr" {< "3.0.0"} ]
@@ -25,7 +25,7 @@ A library for manipulation of MAC address representations.
 
 Features:
 
- * oUnit-based tests
+ * ounit2-based tests
  * MAC-48 (Ethernet) address support
  * `Macaddr` is a `Map.OrderedType`
  * All types have sexplib serializers/deserializers optionally via the `Macaddr_sexp` library.