Debian Codegraph @

test-suite/misc/bench-render.sh

raw symbols ◀ ▶ SCIP
1 Debian patch touch this file
•1 #!/usr/bin/bashscip-shell filesystem . . `/usr/bin/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 diffscip-shell shell shell-project 0.0.0 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 diffscip-shell shell shell-project 0.0.0 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 echoscip-shell system . . echo. "Should have failed!"; exit 1
22 fi
23
24 diffscip-shell shell shell-project 0.0.0 diff(). /dev/nullscip-shell filesystem . . `/dev/null`. bad1v3.html.real
25 diffscip-shell shell shell-project 0.0.0 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 echoscip-shell system . . echo. "Should have failed!"; exit 1
29 fi
30
31 diffscip-shell shell shell-project 0.0.0 diff(). /dev/nullscip-shell filesystem . . `/dev/null`. bad1v4.html.real
32 diffscip-shell shell shell-project 0.0.0 diff(). stderr1v4 stderr1v4.real