@@ -67,6 +67,8 @@ depends: [ "ocaml" {= "4.10.0" & post} ]
67
67
flags: compiler
68
68
conflict-class: "ocaml-core-compiler"
69
69
### :---:
70
+ ### :I: Default compiler selection
71
+ ### :I:1: No system compiler
70
72
### rm -rf ${OPAMROOT}
71
73
### <opamrc>
72
74
eval-variables: [ sys-ocaml-version ["false"] "no system compiler" ]
@@ -87,6 +89,7 @@ Switch invariant: ["ocaml" {>= "4.05.0"}]
87
89
Done.
88
90
### opam switch invariant
89
91
["ocaml" {>= "4.05.0"}]
92
+ ### :I:2: system compiler not compliant with default invariant
90
93
### rm -rf ${OPAMROOT}
91
94
### <opamrc>
92
95
eval-variables: [ sys-ocaml-version ["echo" "4.02.3"] "old system compiler" ]
@@ -107,6 +110,7 @@ Switch invariant: ["ocaml" {>= "4.05.0"}]
107
110
Done.
108
111
### opam switch invariant
109
112
["ocaml" {>= "4.05.0"}]
113
+ ### :I:3: System compiler = 4.07.0, should be selected default
110
114
### rm -rf ${OPAMROOT}
111
115
### <opamrc>
112
116
eval-variables: [ sys-ocaml-version ["echo" "4.07.0"] "new system compiler" ]
@@ -146,8 +150,8 @@ The following actions will be performed:
146
150
-> installed ocaml-base-compiler.4.10.0
147
151
-> installed ocaml.4.10.0
148
152
Done.
149
- ### : Init with config file :
150
- ### :: default setup ::
153
+ ### :II: Init with config file :
154
+ ### :II:a : default setup ::
151
155
### rm -rf $OPAMROOT
152
156
### opam init --bypass-checks --bare --no-setup default REPO/ | grep -v Cygwin
153
157
No configuration file found, using built-in defaults.
@@ -168,7 +172,7 @@ swh-fallback: false
168
172
wrap-build-commands: ["%{hooks}%/sandbox.sh" "build"] {os = "linux" | os = "macos"}
169
173
wrap-install-commands: ["%{hooks}%/sandbox.sh" "install"] {os = "linux" | os = "macos"}
170
174
wrap-remove-commands: ["%{hooks}%/sandbox.sh" "remove"] {os = "linux" | os = "macos"}
171
- ### :: full configured opamrc ::
175
+ ### :II:b : full configured opamrc ::
172
176
### rm -rf $OPAMROOT
173
177
### <opamrc>
174
178
opam-version: "2.0"
0 commit comments