From 9038c98fc70d29a8fa94a47bd10b84f9ce82e8c3 Mon Sep 17 00:00:00 2001 From: Brett Gilio Date: Tue, 22 Sep 2020 03:27:32 -0500 Subject: [PATCH] Modify ocamltest_core_and_plugin dune. (#9843) Co-authored-by: David Allsopp --- dune | 2 +- ocamltest/dune | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/dune b/dune index f5b52af0f..cafbcda20 100644 --- a/dune +++ b/dune @@ -45,7 +45,7 @@ ;; UTILS config build_path_prefix_map misc identifiable numbers arg_helper clflags profile terminfo ccomp warnings consistbl strongly_connected_components - targetint load_path int_replace_polymorphic_compare + targetint load_path int_replace_polymorphic_compare binutils ;; PARSING location longident docstrings syntaxerr ast_helper camlinternalMenhirLib diff --git a/ocamltest/dune b/ocamltest/dune index 1439d5cb3..f10cab798 100644 --- a/ocamltest/dune +++ b/ocamltest/dune @@ -39,10 +39,13 @@ (modes byte) (wrapped false) (flags (:standard -nostdlib)) - (libraries ocamlcommon stdlib) + (libraries ocamlcommon stdlib + (select ocamltest_unix.ml from + (unix -> ocamltest_unix_real.ml) + (-> ocamltest_unix_dummy.ml))) (modules (:standard \ options main)) (c_flags (-DCAML_INTERNALS -I%{project_root}/runtime)) ; fixme - (c_names run_unix run_stubs ocamltest_stdlib_stubs)) + (c_names run_unix run_stubs)) (rule (targets empty.ml)