| 1 |
Running "dune rocq top" from different directories in a workspace. The setup is |
| 2 |
a workspace whose root is the root of a first project, and a second project is |
| 3 |
contained under directory "project". |
| 4 |
|
| 5 |
$ unset INSIDE_DUNE |
| 6 |
$ . ./util.sh |
| 7 |
|
| 8 |
Calling "dune rocq top" from the workspace root. |
| 9 |
|
| 10 |
$ coqtop_test file1.v |
| 11 |
$ coqtop_test coq_dir1/file2.v |
| 12 |
$ coqtop_test coq_dir1/dir1/file3.v |
| 13 |
$ coqtop_test project/file4.v |
| 14 |
$ coqtop_test project/coq_dir2/file5.v |
| 15 |
$ coqtop_test project/coq_dir2/dir2/file6.v |
| 16 |
|
| 17 |
Calling "dune rocq top" from the "coq_dir1" directory. |
| 18 |
|
| 19 |
$ cd coq_dir1 |
| 20 |
|
| 21 |
$ coqtop_test ../file1.v |
| 22 |
$ coqtop_test ../file1.v |
| 23 |
$ coqtop_test ../coq_dir1/file2.v |
| 24 |
$ coqtop_test ../coq_dir1/dir1/file3.v |
| 25 |
$ coqtop_test ../project/file4.v |
| 26 |
$ coqtop_test ../project/coq_dir2/file5.v |
| 27 |
$ coqtop_test ../project/coq_dir2/dir2/file6.v |
| 28 |
|
| 29 |
$ coqtop_test file2.v |
| 30 |
$ coqtop_test dir1/file3.v |
| 31 |
|
| 32 |
$ cd .. |
| 33 |
|
| 34 |
Calling "dune rocq top" from the "coq_dir1/dir1" directory. |
| 35 |
|
| 36 |
$ cd coq_dir1/dir1 |
| 37 |
|
| 38 |
$ coqtop_test ../../file1.v |
| 39 |
$ coqtop_test ../../file1.v |
| 40 |
$ coqtop_test ../../coq_dir1/file2.v |
| 41 |
$ coqtop_test ../../coq_dir1/dir1/file3.v |
| 42 |
$ coqtop_test ../../project/file4.v |
| 43 |
$ coqtop_test ../../project/coq_dir2/file5.v |
| 44 |
$ coqtop_test ../../project/coq_dir2/dir2/file6.v |
| 45 |
|
| 46 |
$ coqtop_test ../file2.v |
| 47 |
$ coqtop_test ../dir1/file3.v |
| 48 |
$ coqtop_test file3.v |
| 49 |
|
| 50 |
$ cd ../.. |
| 51 |
|
| 52 |
Calling "dune rocq top" from the "project" directory. |
| 53 |
|
| 54 |
$ cd project |
| 55 |
|
| 56 |
$ coqtop_test ../file1.v |
| 57 |
$ coqtop_test ../coq_dir1/file2.v |
| 58 |
$ coqtop_test ../coq_dir1/dir1/file3.v |
| 59 |
$ coqtop_test ../project/file4.v |
| 60 |
$ coqtop_test ../project/coq_dir2/file5.v |
| 61 |
$ coqtop_test ../project/coq_dir2/dir2/file6.v |
| 62 |
|
| 63 |
$ coqtop_test file4.v |
| 64 |
$ coqtop_test coq_dir2/file5.v |
| 65 |
$ coqtop_test coq_dir2/dir2/file6.v |
| 66 |
|
| 67 |
$ cd .. |
| 68 |
|
| 69 |
Calling "dune rocq top" from the "project/coq_dir2" directory. |
| 70 |
|
| 71 |
$ cd project/coq_dir2 |
| 72 |
|
| 73 |
$ coqtop_test ../../file1.v |
| 74 |
$ coqtop_test ../../file1.v |
| 75 |
$ coqtop_test ../../coq_dir1/file2.v |
| 76 |
$ coqtop_test ../../coq_dir1/dir1/file3.v |
| 77 |
$ coqtop_test ../../project/file4.v |
| 78 |
$ coqtop_test ../../project/coq_dir2/file5.v |
| 79 |
$ coqtop_test ../../project/coq_dir2/dir2/file6.v |
| 80 |
|
| 81 |
$ coqtop_test ../file4.v |
| 82 |
$ coqtop_test ../coq_dir2/file5.v |
| 83 |
$ coqtop_test ../coq_dir2/dir2/file6.v |
| 84 |
$ coqtop_test file5.v |
| 85 |
$ coqtop_test dir2/file6.v |
| 86 |
|
| 87 |
$ cd ../.. |
| 88 |
|
| 89 |
Calling "dune rocq top" from the "project/coq_dir2/dir2" directory. |
| 90 |
|
| 91 |
$ cd project/coq_dir2/dir2 |
| 92 |
|
| 93 |
$ coqtop_test ../../../file1.v |
| 94 |
$ coqtop_test ../../../file1.v |
| 95 |
$ coqtop_test ../../../coq_dir1/file2.v |
| 96 |
$ coqtop_test ../../../coq_dir1/dir1/file3.v |
| 97 |
$ coqtop_test ../../../project/file4.v |
| 98 |
$ coqtop_test ../../../project/coq_dir2/file5.v |
| 99 |
$ coqtop_test ../../../project/coq_dir2/dir2/file6.v |
| 100 |
|
| 101 |
$ coqtop_test ../../file4.v |
| 102 |
$ coqtop_test ../../coq_dir2/file5.v |
| 103 |
$ coqtop_test ../../coq_dir2/dir2/file6.v |
| 104 |
$ coqtop_test ../file5.v |
| 105 |
$ coqtop_test ../dir2/file6.v |
| 106 |
$ coqtop_test file6.v |
| 107 |
|
| 108 |
$ cd ../../.. |