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 -e |
| 4 |
|
| 5 |
export COQBIN=$BIN |
| 6 |
export PATH=$COQBIN:$PATH |
| 7 |
|
| 8 |
cd misc/quotation_token/ |
| 9 |
|
| 10 |
if which cygpath >/dev/null 2>&1; then OCAMLFINDSEP=\;; else OCAMLFINDSEP=:; fi |
| 11 |
|
| 12 |
rocq makefile -f _CoqProject -o Makefile |
| 13 |
|
| 14 |
make clean |
| 15 |
|
| 16 |
make src/quotation_plugin.cma |
| 17 |
|
| 18 |
TMP=output.txt |
| 19 |
rm -f $TMP |
| 20 |
|
| 21 |
if make > $TMP 2>&1; then |
| 22 |
echo "should fail" |
| 23 |
rm $TMP |
| 24 |
exit 1 |
| 25 |
fi |
| 26 |
|
| 27 |
if grep "File.*quotation.v., line 12, characters 6-30" $TMP; then |
| 28 |
exit 0 |
| 29 |
elif grep "File.*quotation.v" $TMP; then |
| 30 |
echo "wrong loc" |
| 31 |
exit 1 |
| 32 |
else |
| 33 |
echo "wrong error:" |
| 34 |
cat $TMP |
| 35 |
exit 1 |
| 36 |
fi |