3 function section_start
()
4 { echo -e "\e[0Ksection_start:`date +%s`:$1[collapsed=true]\r\e[0K\e[32;1m$2\e[0;m"; }
5 function section_stop
()
6 { echo -e "\e[0Ksection_end:`date +%s`:$1\r\e[0K"; }
9 if test "$COMPILER" != "system"; then
13 if test "$COMPILER" = "full"; then
14 JS
="--enable-js-of-ocaml"
17 section_start configure Configuration
19 .
/configure
--enable-local $JS
20 section_stop configure
22 section_start build Building
28 section_start
"test_$1" "Testing \"$1\""
31 bin
/why3 config detect
35 WHY3CONFIG
="" xvfb-run bin
/why3 ide
--batch="" examples
/logic
/einstein.why
36 bin
/why3 config detect
41 make -j2 trywhy3.
tar.gz
49 bin
/why3 config detect
52 nightly-bench-reduced
)
53 bin
/why3 config detect
54 sed -i why3.conf
-e "s/running_provers_max = [0-9]*/running_provers_max = 1/"
55 cat misc
/bench-few-provers-why3-conf
>> why3.conf
56 COQVER
=$
(bin
/why3 config list-provers |
sed -n -e 's/Coq (\?\([0-9.]\+\).*/\1/p')
57 if test "$COQVER" != "" ; then
58 sed misc
/bench-coq-why3-conf
-e "s/@COQVER@/$COQVER/g" >> why3.conf
60 examples
/regtests.sh
--reduced-mode
63 section_stop
"test_$1"