ocaml
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove LaTeX pipeline test

This is anothing that that one notices just by building your own forest.
I don't want to require a huge environment to be set up just to run the
tests, and this is problematic already on the ocaml.org build servers.

References: https://todo.sr.ht/~jonsterling/forester/164

-32
-31
lib/compiler/test/Test_LaTeX_pipeline.ml
··· 1 - (* 2 - * SPDX-FileCopyrightText: 2024 The Forester Project Contributors 3 - * 4 - * SPDX-License-Identifier: GPL-3.0-or-later 5 - *) 6 - 7 - open Forester_core 8 - open Forester_prelude 9 - open Forester_compiler 10 - 11 - (* This test runs LaTeX_pipeline.latex_to_svg. This requires a LaTeX 12 - environment. Since the output is (apparently) non-deterministic, we can't 13 - equality check the output, so we just use a try-with to verify that the 14 - function runs with no exceptions. 15 - *) 16 - 17 - let () = 18 - let test_pipeline () = 19 - let@ env = Eio_main.run in 20 - let@ () = Reporter.easy_run in 21 - try 22 - let source = LaTeX_template.to_string ~preamble: "" ~body: "$a^2 + b^2 = c^2$" in 23 - let _ = LaTeX_pipeline.latex_to_svg ~env source in 24 - Alcotest.(check bool) "succeeded" true true 25 - with 26 - | _ -> Alcotest.fail "pipeline failed" 27 - in 28 - let open Alcotest in 29 - run 30 - "LaTeX_pipeline" 31 - ["", [test_case "pipeline succeeds" `Quick test_pipeline]]
-1
lib/compiler/test/dune
··· 5 5 (tests 6 6 (names 7 7 Test_expansion 8 - Test_LaTeX_pipeline 9 8 Test_compiler 10 9 Test_diagnostic_store 11 10 Test_errors