Skip to content

Commit 8fcef6c

Browse files
committed
debug
1 parent 6d1a310 commit 8fcef6c

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ jobs:
107107
# upload_binaries: true
108108

109109
# Verify that the compiler still builds with older OCaml versions
110-
- os: ubuntu-latest
111-
ocaml_compiler: ocaml-variants.5.0.0+options,ocaml-option-static
110+
# - os: ubuntu-latest
111+
# ocaml_compiler: ocaml-variants.5.0.0+options,ocaml-option-static
112112
# - os: ubuntu-latest
113113
# ocaml_compiler: ocaml-variants.4.14.2+options,ocaml-option-static
114114
# - os: ubuntu-latest
@@ -139,7 +139,7 @@ jobs:
139139

140140
- name: Increase max user process (macOS only)
141141
if: runner.os == 'macOS'
142-
run: sudo launchctl limit maxproc 5000 8000
142+
run: sudo launchctl limit maxproc 7000 8000
143143

144144
- name: Use Node.js
145145
uses: actions/setup-node@v4

tests/docstrings_examples/DocTest.res

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,8 @@ let runtimeTests = async code => {
162162
| None | Some(_) => Error(Array.length(stderr) > 0 ? stderr : stdout)
163163
}
164164

165+
Console.log({"code": code, "exitCode": exitCode})
166+
165167
switch std {
166168
| Ok(buf) =>
167169
buf

tests/docstrings_examples/DocTest.res.mjs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,10 @@ async function runtimeTests(code) {
152152
_0: stderr.length > 0 ? stderr : stdout
153153
};
154154
}
155+
console.log({
156+
code: code,
157+
exitCode: exitCode
158+
});
155159
if (std.TAG === "Ok") {
156160
return {
157161
TAG: "Ok",
@@ -188,7 +192,7 @@ function extractDocFromFile(file) {
188192
RE_EXN_ID: "Assert_failure",
189193
_1: [
190194
"DocTest.res",
191-
204,
195+
206,
192196
9
193197
],
194198
Error: new Error()

0 commit comments

Comments
 (0)