Debian Codegraph @

debian/patches/remove-bytecode-failing-tests.patch

raw
1 From: Benjamin Barenblat <[email protected]>
2 Date: Sun, 11 Aug 2019 18:33:24 +0200
3 Subject: Disable tests which require ocamlopt
4 MIME-Version: 1.0
5 Content-Type: text/plain; charset="utf-8"
6 Content-Transfer-Encoding: 8bit
7
8 Forwarded: not-needed
9
10 Disable unit tests. They require ocamlopt, which isn't available on all
11 Debian architectures, and Gaëtan Gilbert says that "they don't test much
12 yet" anyway.
13
14 Also disable .vio tests, as they run afoul
15 of https://github.com/coq/coq/issues/9141.
16 ---
17 test-suite/Makefile | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20 --- coq.orig/test-suite/coq-makefile/findlib-package-unpacked/run.sh
21 +++ /dev/null
22 @@ -1,22 +0,0 @@
23 -#!/usr/bin/bash
24 -
25 -. ../template/init.sh
26 -mv src/test_plugin.mlpack src/test_plugin.mllib
27 -sed -i.old 's/rocq-runtime.plugins.ltac/rocq-runtime.plugins.ltac,foo/' src/META.coq-test-suite
28 -
29 -echo "let () = Foolib.foo ();;" >> src/test_aux.ml
30 -if which cygpath 2>/dev/null; then
31 - # separator is ; on windows
32 - OCAMLPATH=$OCAMLPATH;$(cygpath -m "$PWD"/findlib)
33 -else
34 - OCAMLPATH=$OCAMLPATH:$PWD/findlib
35 -fi
36 -make -C findlib/foo clean
37 -rocq makefile -f _CoqProject -o Makefile
38 -cat Makefile.conf
39 -cat Makefile.local
40 -make -C findlib/foo
41 -if which ocamlopt >/dev/null 2>&1; then
42 - make
43 -fi
44 -make byte