diff --git a/lib/compiler/test/Test_LaTeX_pipeline.ml b/lib/compiler/test/Test_LaTeX_pipeline.ml deleted file mode 100644 index 82e6389..0000000 --- a/lib/compiler/test/Test_LaTeX_pipeline.ml +++ /dev/null @@ -1,31 +0,0 @@ -(* - * SPDX-FileCopyrightText: 2024 The Forester Project Contributors - * - * SPDX-License-Identifier: GPL-3.0-or-later - *) - -open Forester_core -open Forester_prelude -open Forester_compiler - -(* This test runs LaTeX_pipeline.latex_to_svg. This requires a LaTeX - environment. Since the output is (apparently) non-deterministic, we can't - equality check the output, so we just use a try-with to verify that the - function runs with no exceptions. - *) - -let () = - let test_pipeline () = - let@ env = Eio_main.run in - let@ () = Reporter.easy_run in - try - let source = LaTeX_template.to_string ~preamble: "" ~body: "$a^2 + b^2 = c^2$" in - let _ = LaTeX_pipeline.latex_to_svg ~env source in - Alcotest.(check bool) "succeeded" true true - with - | _ -> Alcotest.fail "pipeline failed" - in - let open Alcotest in - run - "LaTeX_pipeline" - ["", [test_case "pipeline succeeds" `Quick test_pipeline]] diff --git a/lib/compiler/test/dune b/lib/compiler/test/dune index d4237d6..5fba849 100644 --- a/lib/compiler/test/dune +++ b/lib/compiler/test/dune @@ -5,7 +5,6 @@ (tests (names Test_expansion - Test_LaTeX_pipeline Test_compiler Test_diagnostic_store Test_errors