test/blackbox-tests/test-cases/rocq/rocq-native/coqtop/coqtop-no-stanza.t
raw| 1 | Running the Coq Toplevel on a file that is not part of a stanza. |
| 2 | |
| 3 | $ cat >foo.v <<EOF |
| 4 | > Definition mynat := nat. |
| 5 | > EOF |
| 6 | $ cat >dune-project <<EOF |
| 7 | > (lang dune 3.21) |
| 8 | > (using rocq 0.11) |
| 9 | > EOF |
| 10 | $ dune rocq top foo.v || echo failed |
| 11 | Error: Cannot find file: foo.v |
| 12 | Hint: Is the file part of a stanza? |
| 13 | Hint: Has the file been written to disk? |
| 14 | failed |