Skip to content

Commit a54ca81

Browse files
committed
Fix parsing test
It is no longer necessary to flush stdout/stderr since OCaml 5.1 (see ocaml/ocaml#12046).
1 parent af6384d commit a54ca81

File tree

3 files changed

+20
-18
lines changed

3 files changed

+20
-18
lines changed

compiler/tests-jsoo/dune

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,32 @@
2020
(preprocess
2121
(pps ppx_expect)))
2222

23+
(library
24+
(name jsoo_testsuite_parsing)
25+
(modules test_parsing calc_parser calc_lexer)
26+
(libraries unix compiler-libs.common js_of_ocaml-compiler)
27+
(enabled_if
28+
(>= %{ocaml_version} 5.1.1))
29+
(inline_tests
30+
(modes js best))
31+
(preprocess
32+
(pps ppx_expect)))
33+
2334
(library
2435
(name jsoo_testsuite)
2536
(modules
26-
(:standard \ test_io test_floats test_marshal_compressed))
37+
(:standard
38+
\
39+
test_io
40+
test_floats
41+
test_marshal_compressed
42+
test_parsing
43+
calc_parser
44+
calc_lexer))
2745
(libraries unix compiler-libs.common js_of_ocaml-compiler)
2846
(foreign_stubs
2947
(language c)
30-
(names bigarray_stubs flush_stubs))
31-
(js_of_ocaml
32-
(javascript_files runtime.js))
48+
(names bigarray_stubs))
3349
(inline_tests
3450
(modes js best))
3551
(preprocess

compiler/tests-jsoo/flush_stubs.c

Lines changed: 0 additions & 12 deletions
This file was deleted.

compiler/tests-jsoo/runtime.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)