Debian Codegraph @

test-suite/dune

raw ◀ ▶
1 Debian patch touch this file
1 ; The easiest way to generate a portable absolute path is to use OCaml
2 ; itself to print it
3 (executable
4 (name ocaml_pwd)
5 (modules ocaml_pwd))
6
7 (env
8 (dev (flags :standard -w -70)))
9
10 (rule
11 (targets test_suite_config.inc)
•12 (mode (promote (until-clean)))
13 (deps (package rocq-runtime))
14 (action (with-stdout-to %{targets} (run tools/coq_config_to_make.exe rocq))))
15
16 (rule
17 (targets summary.log)
18 (deps
19 ; File that should be promoted.
20 misc/universes/all_stdlib.v
21 ; Configure for test-suite
22 test_suite_config.inc
23 ; when TIMED is set, used to print the timing table
24 ../tools/make-one-time-file.py
25 ../tools/TimeFileMaker.py
26 ; For the changelog test
27 ../config/coq_config.py
28 (source_tree doc/changelog)
29 (package rocq-runtime)
30 (package coq-core)
31 (package rocq-core)
32 (package coqide-server) ; For fake_ide
33 (package rocq-devtools) ; For bench-render
34 (source_tree .))
35 ; Finer-grained dependencies would look like this and be generated
36 ; by coqdep; that would allow tests to be run incrementally.
37 ; ../tools/CoqMakefile.in
38 ; ../theories/Init/Prelude.vo
39 ; %{bin:coqc}
40 ; %{bin:coq_makefile}
41 ; %{bin:fake_ide}
42 (action
43 (progn
44 (bash "make -j %{env:NJOBS=2} PRINT_LOGS=1 UNIT_TESTS=%{env:COQ_UNIT_TEST=unit-tests}"))))