Skip to content

Commit

Permalink
Fix parsing test
Browse files Browse the repository at this point in the history
It is no longer necessary to flush stdout/stderr since OCaml 5.1
(see ocaml/ocaml#12046).
  • Loading branch information
vouillon committed Oct 4, 2024
1 parent af6384d commit 54cc71e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 18 deletions.
17 changes: 13 additions & 4 deletions compiler/tests-jsoo/dune
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,25 @@
(preprocess
(pps ppx_expect)))

(library
(name jsoo_testsuite_parsing)
(modules test_parsing)
(libraries unix compiler-libs.common js_of_ocaml-compiler)
(enabled_if
(>= %{ocaml_version} 5.1.1))
(inline_tests
(modes js best))
(preprocess
(pps ppx_expect)))

(library
(name jsoo_testsuite)
(modules
(:standard \ test_io test_floats test_marshal_compressed))
(:standard \ test_io test_floats test_marshal_compressed test_parsing))
(libraries unix compiler-libs.common js_of_ocaml-compiler)
(foreign_stubs
(language c)
(names bigarray_stubs flush_stubs))
(js_of_ocaml
(javascript_files runtime.js))
(names bigarray_stubs))
(inline_tests
(modes js best))
(preprocess
Expand Down
12 changes: 0 additions & 12 deletions compiler/tests-jsoo/flush_stubs.c

This file was deleted.

2 changes: 0 additions & 2 deletions compiler/tests-jsoo/runtime.js

This file was deleted.

0 comments on commit 54cc71e

Please sign in to comment.