Debian Codegraph @

test-suite/misc/external-deps.sh

raw symbols SCIP
1 #!/bin/sh
2
3 set -e
4
5 # Set Extra Dependency syntax
6 output=misc/external-deps/file1.found.real
7 $coqdep -worker @ROCQWORKER@ -Q misc/external-deps/deps foo.bar misc/external-deps/file1.v > $output 2>&1
8 diff -u --strip-trailing-cr misc/external-deps/file1.found.deps $output
9
10 output=misc/external-deps/file1.ambiguous.real
11 $coqdep -worker @ROCQWORKER@ -Q misc/external-deps/deps foo.bar -Q misc/external-deps/more foo.bar misc/external-deps/file1.v > $output 2>&1
12 diff -u --strip-trailing-cr misc/external-deps/file1.ambiguous.deps $output
13
14 output=misc/external-deps/file1.notfound.real
15 $coqdep -worker @ROCQWORKER@ misc/external-deps/file1.v > $output 2>&1
16 diff -u --strip-trailing-cr misc/external-deps/file1.notfound.deps $output
17
18 # From bla Extra Dependency syntax
19 output=misc/external-deps/file2.found.real
20 $coqdep -worker @ROCQWORKER@ -Q misc/external-deps/deps foo.bar misc/external-deps/file2.v > $output 2>&1
21 diff -u --strip-trailing-cr misc/external-deps/file2.found.deps $output
22
23 output=misc/external-deps/file2.ambiguous.real
24 $coqdep -worker @ROCQWORKER@ -Q misc/external-deps/deps foo.bar -Q misc/external-deps/more foo.bar misc/external-deps/file2.v > $output 2>&1
25 diff -u --strip-trailing-cr misc/external-deps/file2.ambiguous.deps $output
26
27 output=misc/external-deps/file2.notfound.real
28 $coqdep -worker @ROCQWORKER@ misc/external-deps/file2.v > $output 2>&1
29 diff -u --strip-trailing-cr misc/external-deps/file2.notfound.deps $output