| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | |
| 3 | set -ex |
| 4 | |
| 5 | export COQBIN=$BIN |
| 6 | export PATH="$COQBIN:$PATH" |
| 7 | |
| 8 | diffscip-shell shell shell-project 0.0.0 diff().() { |
| 9 | command diff -a -u --strip-trailing-cr "$1" "$2" |
| 10 | } |
| 11 | |
| 12 | cd misc/comment-lexing/ |
| 13 | rmscip-shell system . . rm. -rf _test |
| 14 | mkdirscip-shell system . . mkdir. _test |
| 15 | cpscip-shell system . . cp. test.v _test |
| 16 | |
| 17 | cd _test |
| 18 | |
| 19 | rocq c -q -d comment-lexing -beautify test.v > test.out.real 2>&1 |
| 20 | |
| 21 | diffscip-shell shell shell-project 0.0.0 diff(). ../test.out test.out.real |
| 22 | |
| 23 | diffscip-shell shell shell-project 0.0.0 diff(). ../test.v.beautified test.v.beautified |