LGPL-2.1
1999-2021 The Coq Development Team,; Institut National de Recherche en Informatique et en Automatique (INRIA),; Centre National de la Recherche Scientifique (CNRS),; Microsoft corporation; and contributors
debian/copyright
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
| 1 |
#!/usr/bin/env bash |
| 2 |
|
| 3 |
set -ex |
| 4 |
set -o pipefail |
| 5 |
|
| 6 |
export COQBIN=$BIN |
| 7 |
export PATH="$COQBIN:$PATH" |
| 8 |
export LC_ALL=C |
| 9 |
|
| 10 |
diff() { |
| 11 |
command diff -a -u --strip-trailing-cr "$1" "$2" |
| 12 |
} |
| 13 |
|
| 14 |
cd misc/bench-render |
| 15 |
|
| 16 |
rocq timelog2html foo.v foo.v.time1 foo.v.time2 > result.html.real |
| 17 |
|
| 18 |
diff result.html result.html.real |
| 19 |
|
| 20 |
if rocq timelog2html foo.v foo.v.time1 foo.v.time3 > bad1v3.html.real 2>stderr1v3.real |
| 21 |
then >&2 echo "Should have failed!"; exit 1 |
| 22 |
fi |
| 23 |
|
| 24 |
diff /dev/null bad1v3.html.real |
| 25 |
diff stderr1v3 stderr1v3.real |
| 26 |
|
| 27 |
if rocq timelog2html foo.v foo.v.time1 foo.v.time4 > bad1v4.html.real 2>stderr1v4.real |
| 28 |
then >&2 echo "Should have failed!"; exit 1 |
| 29 |
fi |
| 30 |
|
| 31 |
diff /dev/null bad1v4.html.real |
| 32 |
diff stderr1v4 stderr1v4.real |