Debian Codegraph @

debian/patches/remove-tests-that-need-coqlib.patch

raw
1 From: Benjamin Barenblat <[email protected]>
2 Date: Sun, 11 Aug 2019 18:33:23 +0200
3 Subject: Disable tests which require -coqlib to be set
4
5 Forwarded: not-needed
6
7 A number of tests (mostly for coq_makefile) assume that Coq is
8 installed when the test runs. This isn't true in an sbuild environment,
9 though, so disable those tests.
10 ---
11 test-suite/coq-makefile/arg/run.sh | 7 --
12 test-suite/coq-makefile/compat-subdirs/run.sh | 8 --
13 test-suite/coq-makefile/coqdoc1/run.sh | 59 --------------
14 test-suite/coq-makefile/coqdoc2/run.sh | 57 --------------
15 test-suite/coq-makefile/emptyprefix/run.sh | 17 ----
16 test-suite/coq-makefile/extend-subdirs/run.sh | 8 --
17 test-suite/coq-makefile/findlib-package/run.sh | 19 -----
18 test-suite/coq-makefile/latex1/run.sh | 13 ---
19 test-suite/coq-makefile/merlin1/run.sh | 13 ---
20 test-suite/coq-makefile/mlpack1/run.sh | 23 ------
21 test-suite/coq-makefile/mlpack2/run.sh | 23 ------
22 test-suite/coq-makefile/multiroot/run.sh | 61 --------------
23 test-suite/coq-makefile/only/run.sh | 10 ---
24 test-suite/coq-makefile/plugin1/run.sh | 26 ------
25 test-suite/coq-makefile/plugin2/run.sh | 26 ------
26 test-suite/coq-makefile/plugin3/run.sh | 26 ------
27 test-suite/coq-makefile/quick2vo/run.sh | 12 ---
28 test-suite/coq-makefile/timing/run.sh | 105 -------------------------
29 test-suite/coq-makefile/uninstall1/run.sh | 23 ------
30 test-suite/coq-makefile/uninstall2/run.sh | 23 ------
31 test-suite/coq-makefile/validate1/run.sh | 8 --
32 test-suite/coq-makefile/vio2vo/run.sh | 13 ---
33 test-suite/misc/printers.sh | 2 -
34 23 files changed, 582 deletions(-)
35 delete mode 100755 test-suite/coq-makefile/arg/run.sh
36 delete mode 100755 test-suite/coq-makefile/compat-subdirs/run.sh
37 delete mode 100755 test-suite/coq-makefile/coqdoc1/run.sh
38 delete mode 100755 test-suite/coq-makefile/coqdoc2/run.sh
39 delete mode 100755 test-suite/coq-makefile/emptyprefix/run.sh
40 delete mode 100755 test-suite/coq-makefile/extend-subdirs/run.sh
41 delete mode 100755 test-suite/coq-makefile/findlib-package/run.sh
42 delete mode 100755 test-suite/coq-makefile/latex1/run.sh
43 delete mode 100755 test-suite/coq-makefile/merlin1/run.sh
44 delete mode 100755 test-suite/coq-makefile/mlpack1/run.sh
45 delete mode 100755 test-suite/coq-makefile/mlpack2/run.sh
46 delete mode 100755 test-suite/coq-makefile/multiroot/run.sh
47 delete mode 100755 test-suite/coq-makefile/only/run.sh
48 delete mode 100755 test-suite/coq-makefile/plugin1/run.sh
49 delete mode 100755 test-suite/coq-makefile/plugin2/run.sh
50 delete mode 100755 test-suite/coq-makefile/plugin3/run.sh
51 delete mode 100755 test-suite/coq-makefile/quick2vo/run.sh
52 delete mode 100755 test-suite/coq-makefile/timing/run.sh
53 delete mode 100755 test-suite/coq-makefile/uninstall1/run.sh
54 delete mode 100755 test-suite/coq-makefile/uninstall2/run.sh
55 delete mode 100755 test-suite/coq-makefile/validate1/run.sh
56 delete mode 100755 test-suite/coq-makefile/vio2vo/run.sh
57 delete mode 100755 test-suite/misc/printers.sh
58
59 --- coq.orig/test-suite/coq-makefile/arg/run.sh
60 +++ /dev/null
61 @@ -1,7 +0,0 @@
62 -#!/usr/bin/bash
63 -
64 -. ../template/init.sh
65 -
66 -rocq makefile -f _CoqProject -o Makefile
67 -cat Makefile.conf
68 -make
69 --- coq.orig/test-suite/coq-makefile/coqdoc1/run.sh
70 +++ /dev/null
71 @@ -1,75 +0,0 @@
72 -#!/usr/bin/bash
73 -
74 -. ../template/init.sh
75 -
76 -rocq makefile -f _CoqProject -o Makefile
77 -cat Makefile.conf
78 -make
79 -make html mlihtml
80 -make install DSTROOT="$PWD/tmp"
81 -make install-doc DSTROOT="$PWD/tmp"
82 -#make debug
83 -
84 -# to learn about <(cmd) see https://www.gnu.org/software/bash/manual/html_node/Process-Substitution.html
85 -(
86 - while IFS= read -r -d '' d
87 - do
88 - pushd "$d" >/dev/null && find . && popd >/dev/null
89 - done < <(find tmp -name user-contrib -print0)
90 -) | sort -u > actual
91 -
92 -sort -u > desired <<EOT
93 -.
94 -./test
95 -./test/.coq-native
96 -./test/.coq-native/Ntest_test.cmi
97 -./test/.coq-native/Ntest_test.cmx
98 -./test/.coq-native/Ntest_test.cmxs
99 -./test/test.glob
100 -./test/test.v
101 -./test/test.vo
102 -./test/sub
103 -./test/sub/.coq-native
104 -./test/sub/.coq-native/Ntest_sub_testsub.cmi
105 -./test/sub/.coq-native/Ntest_sub_testsub.cmx
106 -./test/sub/.coq-native/Ntest_sub_testsub.cmxs
107 -./test/sub/testsub.glob
108 -./test/sub/testsub.v
109 -./test/sub/testsub.vo
110 -./test/mlihtml
111 -./test/mlihtml/index_exceptions.html
112 -./test/mlihtml/index.html
113 -./test/mlihtml/index_class_types.html
114 -./test/mlihtml/type_Test_aux.html
115 -./test/mlihtml/index_module_types.html
116 -./test/mlihtml/index_classes.html
117 -./test/mlihtml/type_Test.html
118 -./test/mlihtml/style.css
119 -./test/mlihtml/index_attributes.html
120 -./test/mlihtml/index_types.html
121 -./test/mlihtml/Test_aux.html
122 -./test/mlihtml/index_values.html
123 -./test/mlihtml/Test.html
124 -./test/mlihtml/index_extensions.html
125 -./test/mlihtml/index_methods.html
126 -./test/mlihtml/index_modules.html
127 -./test/html
128 -./test/html/index.html
129 -./test/html/test.sub.testsub.html
130 -./test/html/toc.html
131 -./test/html/coqdoc.css
132 -./test/html/test.test.html
133 -EOT
134 -(rocq -config | grep -q "NATIVE_COMPILER_DEFAULT=yes") || sed -i.bak '/\.coq-native/d' desired
135 -diff -u desired actual
136 -
137 -(cd "$(find tmp -name coq-test-suite)" && find .) | sort > actual
138 -sort > desired <<EOT
139 -.
140 -./META
141 -./test_plugin.cmi
142 -./test_plugin.cmx
143 -./test_plugin.cmxa
144 -./test_plugin.cmxs
145 -EOT
146 -diff -u desired actual
147 --- coq.orig/test-suite/coq-makefile/coqdoc2/run.sh
148 +++ /dev/null
149 @@ -1,73 +0,0 @@
150 -#!/usr/bin/bash
151 -
152 -. ../template/init.sh
153 -
154 -rocq makefile -f _CoqProject -o Makefile
155 -cat Makefile.conf
156 -make
157 -make html mlihtml
158 -make install DSTROOT="$PWD/tmp"
159 -make install-doc DSTROOT="$PWD/tmp"
160 -#make debug
161 -(
162 - while IFS= read -r -d '' d
163 - do
164 - pushd "$d" >/dev/null && find . && popd >/dev/null
165 - done < <(find tmp -name user-contrib -print0)
166 -) | sort -u > actual
167 -
168 -sort -u > desired <<EOT
169 -.
170 -./test
171 -./test/.coq-native
172 -./test/.coq-native/Ntest_test.cmi
173 -./test/.coq-native/Ntest_test.cmx
174 -./test/.coq-native/Ntest_test.cmxs
175 -./test/test.glob
176 -./test/test.v
177 -./test/test.vo
178 -./test/sub
179 -./test/sub/.coq-native
180 -./test/sub/.coq-native/Ntest_sub_testsub.cmi
181 -./test/sub/.coq-native/Ntest_sub_testsub.cmx
182 -./test/sub/.coq-native/Ntest_sub_testsub.cmxs
183 -./test/sub/testsub.glob
184 -./test/sub/testsub.v
185 -./test/sub/testsub.vo
186 -./test/mlihtml
187 -./test/mlihtml/index_exceptions.html
188 -./test/mlihtml/index.html
189 -./test/mlihtml/index_class_types.html
190 -./test/mlihtml/type_Test_aux.html
191 -./test/mlihtml/index_module_types.html
192 -./test/mlihtml/index_classes.html
193 -./test/mlihtml/type_Test.html
194 -./test/mlihtml/style.css
195 -./test/mlihtml/index_attributes.html
196 -./test/mlihtml/index_types.html
197 -./test/mlihtml/Test_aux.html
198 -./test/mlihtml/index_values.html
199 -./test/mlihtml/Test.html
200 -./test/mlihtml/index_extensions.html
201 -./test/mlihtml/index_methods.html
202 -./test/mlihtml/index_modules.html
203 -./test/html
204 -./test/html/index.html
205 -./test/html/test.sub.testsub.html
206 -./test/html/toc.html
207 -./test/html/coqdoc.css
208 -./test/html/test.test.html
209 -EOT
210 -(rocq -config | grep -q "NATIVE_COMPILER_DEFAULT=yes") || sed -i.bak '/\.coq-native/d' desired
211 -diff -u desired actual
212 -
213 -(cd "$(find tmp -name coq-test-suite)" && find .) | sort > actual
214 -sort > desired <<EOT
215 -.
216 -./META
217 -./test_plugin.cmi
218 -./test_plugin.cmx
219 -./test_plugin.cmxa
220 -./test_plugin.cmxs
221 -EOT
222 -diff -u desired actual
223 --- coq.orig/test-suite/coq-makefile/emptyprefix/run.sh
224 +++ /dev/null
225 @@ -1,17 +0,0 @@
226 -#!/usr/bin/bash
227 -
228 -set -e
229 -
230 -. ../template/init.sh
231 -
232 -mv theories/sub theories2
233 -
234 -rocq makefile -f _CoqProject -o Makefile
235 -cat Makefile.conf
236 -make
237 -
238 -cp ../_CoqProject.sub theories2/_CoqProject
239 -cd theories2
240 -rocq makefile -f _CoqProject -o Makefile
241 -cat Makefile.conf
242 -make
243 --- coq.orig/test-suite/coq-makefile/extend-subdirs/run.sh
244 +++ /dev/null
245 @@ -1,8 +0,0 @@
246 -#!/usr/bin/bash
247 -
248 -. ../template/init.sh
249 -
250 -rocq makefile -f _CoqProject -o Makefile
251 -cat Makefile.conf
252 -make
253 -exec test -f "subdir/done"
254 --- coq.orig/test-suite/coq-makefile/findlib-package/run.sh
255 +++ /dev/null
256 @@ -1,21 +0,0 @@
257 -#!/usr/bin/bash
258 -
259 -. ../template/init.sh
260 -
261 -sed -i.old 's/rocq-runtime.plugins.ltac/rocq-runtime.plugins.ltac,foo/' src/META.coq-test-suite
262 -
263 -echo "let () = Foolib.foo ();;" >> src/test_aux.ml
264 -if which cygpath 2>/dev/null; then
265 - # separator is ; on windows
266 - OCAMLPATH=$OCAMLPATH;$(cygpath -m "$PWD"/findlib)
267 -else
268 - OCAMLPATH=$OCAMLPATH:$PWD/findlib
269 -fi
270 -export OCAMLPATH
271 -make -C findlib/foo clean
272 -rocq makefile -f _CoqProject -o Makefile
273 -cat Makefile.conf
274 -cat Makefile.local
275 -make -C findlib/foo
276 -make
277 -make byte
278 --- coq.orig/test-suite/coq-makefile/latex1/run.sh
279 +++ /dev/null
280 @@ -1,13 +0,0 @@
281 -#!/usr/bin/bash
282 -
283 -if which pdflatex; then
284 -
285 -. ../template/init.sh
286 -
287 -rocq makefile -f _CoqProject -o Makefile
288 -cat Makefile.conf
289 -make
290 -exec make all.pdf
291 -
292 -fi
293 -exit 0 # test skipped
294 --- coq.orig/test-suite/coq-makefile/merlin1/run.sh
295 +++ /dev/null
296 @@ -1,13 +0,0 @@
297 -#!/usr/bin/bash
298 -
299 -. ../template/init.sh
300 -
301 -rocq makefile -f _CoqProject -o Makefile
302 -cat Makefile.conf
303 -make .merlin
304 -cat > desired <<EOT
305 -B src
306 -S src
307 -EOT
308 -tail -2 .merlin > actual
309 -exec diff -u desired actual
310 --- coq.orig/test-suite/coq-makefile/mlpack1/run.sh
311 +++ /dev/null
312 @@ -1,35 +0,0 @@
313 -#!/usr/bin/bash
314 -
315 -. ../template/init.sh
316 -
317 -rocq makefile -f _CoqProject -o Makefile
318 -cat Makefile.conf
319 -make
320 -make html mlihtml
321 -make install DSTROOT="$PWD/tmp"
322 -#make debug
323 -(cd "$(find tmp -name user-contrib)" && find .) | sort > actual
324 -sort > desired <<EOT
325 -.
326 -./test
327 -./test/.coq-native
328 -./test/.coq-native/Ntest_test.cmi
329 -./test/.coq-native/Ntest_test.cmx
330 -./test/.coq-native/Ntest_test.cmxs
331 -./test/test.glob
332 -./test/test.v
333 -./test/test.vo
334 -EOT
335 -(rocq -config | grep -q "NATIVE_COMPILER_DEFAULT=yes") || sed -i.bak '/\.coq-native/d' desired
336 -diff -u desired actual
337 -
338 -(cd "$(find tmp -name coq-test-suite)" && find .) | sort > actual
339 -sort > desired <<EOT
340 -.
341 -./META
342 -./test_plugin.cmi
343 -./test_plugin.cmx
344 -./test_plugin.cmxa
345 -./test_plugin.cmxs
346 -EOT
347 -diff -u desired actual
348 --- coq.orig/test-suite/coq-makefile/mlpack2/run.sh
349 +++ /dev/null
350 @@ -1,35 +0,0 @@
351 -#!/usr/bin/bash
352 -
353 -. ../template/init.sh
354 -
355 -rocq makefile -f _CoqProject -o Makefile
356 -cat Makefile.conf
357 -make
358 -make html mlihtml
359 -make install DSTROOT="$PWD/tmp"
360 -#make debug
361 -(cd "$(find tmp -name user-contrib)" && find .) | sort > actual
362 -sort > desired <<EOT
363 -.
364 -./test
365 -./test/.coq-native
366 -./test/.coq-native/Ntest_test.cmi
367 -./test/.coq-native/Ntest_test.cmx
368 -./test/.coq-native/Ntest_test.cmxs
369 -./test/test.glob
370 -./test/test.v
371 -./test/test.vo
372 -EOT
373 -(rocq -config | grep -q "NATIVE_COMPILER_DEFAULT=yes") || sed -i.bak '/\.coq-native/d' desired
374 -diff -u desired actual
375 -
376 -(cd "$(find tmp -name coq-test-suite)" && find .) | sort > actual
377 -sort > desired <<EOT
378 -.
379 -./META
380 -./test_plugin.cmi
381 -./test_plugin.cmx
382 -./test_plugin.cmxa
383 -./test_plugin.cmxs
384 -EOT
385 -diff -u desired actual
386 --- coq.orig/test-suite/coq-makefile/multiroot/run.sh
387 +++ /dev/null
388 @@ -1,77 +0,0 @@
389 -#!/usr/bin/bash
390 -
391 -. ../template/init.sh
392 -
393 -cp -r theories theories2
394 -mv src/test_plugin.mlpack src/test_plugin.mllib
395 -rocq makefile -f _CoqProject -o Makefile
396 -cat Makefile.conf
397 -make
398 -make html mlihtml
399 -make install DSTROOT="$PWD/tmp"
400 -make install-doc DSTROOT="$PWD/tmp"
401 -#make debug
402 -(
403 - while IFS= read -r -d '' d
404 - do
405 - pushd "$d" >/dev/null && find . && popd >/dev/null
406 - done < <(find tmp -name user-contrib -print0)
407 -) | sort -u > actual
408 -sort > desired <<EOT
409 -.
410 -./test
411 -./test/.coq-native
412 -./test/.coq-native/Ntest_test.cmi
413 -./test/.coq-native/Ntest_test.cmx
414 -./test/.coq-native/Ntest_test.cmxs
415 -./test/test.glob
416 -./test/test.v
417 -./test/test.vo
418 -./test2
419 -./test2/.coq-native
420 -./test2/.coq-native/Ntest2_test.cmi
421 -./test2/.coq-native/Ntest2_test.cmx
422 -./test2/.coq-native/Ntest2_test.cmxs
423 -./test2/test.glob
424 -./test2/test.v
425 -./test2/test.vo
426 -./orphan_test_test2_test
427 -./orphan_test_test2_test/html
428 -./orphan_test_test2_test/html/coqdoc.css
429 -./orphan_test_test2_test/html/index.html
430 -./orphan_test_test2_test/html/test2.test.html
431 -./orphan_test_test2_test/html/test.test.html
432 -./orphan_test_test2_test/html/toc.html
433 -./orphan_test_test2_test/mlihtml
434 -./orphan_test_test2_test/mlihtml/index_attributes.html
435 -./orphan_test_test2_test/mlihtml/index_classes.html
436 -./orphan_test_test2_test/mlihtml/index_class_types.html
437 -./orphan_test_test2_test/mlihtml/index_exceptions.html
438 -./orphan_test_test2_test/mlihtml/index_extensions.html
439 -./orphan_test_test2_test/mlihtml/index.html
440 -./orphan_test_test2_test/mlihtml/index_methods.html
441 -./orphan_test_test2_test/mlihtml/index_modules.html
442 -./orphan_test_test2_test/mlihtml/index_module_types.html
443 -./orphan_test_test2_test/mlihtml/index_types.html
444 -./orphan_test_test2_test/mlihtml/index_values.html
445 -./orphan_test_test2_test/mlihtml/style.css
446 -./orphan_test_test2_test/mlihtml/Test_aux.html
447 -./orphan_test_test2_test/mlihtml/Test.html
448 -./orphan_test_test2_test/mlihtml/type_Test_aux.html
449 -./orphan_test_test2_test/mlihtml/type_Test.html
450 -EOT
451 -(rocq -config | grep -q "NATIVE_COMPILER_DEFAULT=yes") || sed -i.bak '/\.coq-native/d' desired
452 -diff -u desired actual
453 -
454 -(cd "$(find tmp -name coq-test-suite)" && find .) | sort > actual
455 -sort > desired <<EOT
456 -.
457 -./META
458 -./test.cmi
459 -./test.cmx
460 -./test_aux.cmi
461 -./test_aux.cmx
462 -./test_plugin.cmxa
463 -./test_plugin.cmxs
464 -EOT
465 -diff -u desired actual
466 --- coq.orig/test-suite/coq-makefile/only/run.sh
467 +++ /dev/null
468 @@ -1,10 +0,0 @@
469 -#!/usr/bin/bash
470 -
471 -. ../template/init.sh
472 -
473 -rocq makefile -f _CoqProject -o Makefile
474 -cat Makefile.conf
475 -make only TGTS="src/test.cmi src/test_aux.cmi" -j2
476 -test -f src/test.cmi
477 -test -f src/test_aux.cmi
478 -! test -f src/test.cmo
479 --- coq.orig/test-suite/coq-makefile/plugin2/run.sh
480 +++ /dev/null
481 @@ -1,38 +0,0 @@
482 -#!/usr/bin/bash
483 -
484 -. ../template/init.sh
485 -
486 -mv src/test_plugin.mlpack src/test_plugin.mllib
487 -rocq makefile -f _CoqProject -o Makefile
488 -cat Makefile.conf
489 -make
490 -make html mlihtml
491 -make install DSTROOT="$PWD/tmp"
492 -#make debug
493 -(cd "$(find tmp -name user-contrib)" && find .) | sort > actual
494 -sort > desired <<EOT
495 -.
496 -./test
497 -./test/.coq-native
498 -./test/.coq-native/Ntest_test.cmi
499 -./test/.coq-native/Ntest_test.cmx
500 -./test/.coq-native/Ntest_test.cmxs
501 -./test/test.glob
502 -./test/test.v
503 -./test/test.vo
504 -EOT
505 -(rocq -config | grep -q "NATIVE_COMPILER_DEFAULT=yes") || sed -i.bak '/\.coq-native/d' desired
506 -diff -u desired actual
507 -
508 -(cd "$(find tmp -name coq-test-suite)" && find .) | sort > actual
509 -sort > desired <<EOT
510 -.
511 -./META
512 -./test.cmi
513 -./test.cmx
514 -./test_aux.cmi
515 -./test_aux.cmx
516 -./test_plugin.cmxa
517 -./test_plugin.cmxs
518 -EOT
519 -diff -u desired actual
520 --- coq.orig/test-suite/coq-makefile/plugin3/run.sh
521 +++ /dev/null
522 @@ -1,38 +0,0 @@
523 -#!/usr/bin/bash
524 -
525 -. ../template/init.sh
526 -
527 -mv src/test_plugin.mlpack src/test_plugin.mllib
528 -rocq makefile -f _CoqProject -o Makefile
529 -cat Makefile.conf
530 -make
531 -make html mlihtml
532 -make install DSTROOT="$PWD/tmp"
533 -#make debug
534 -(cd "$(find tmp -name user-contrib)" && find .) | sort > actual
535 -sort > desired <<EOT
536 -.
537 -./test
538 -./test/.coq-native
539 -./test/.coq-native/Ntest_test.cmi
540 -./test/.coq-native/Ntest_test.cmx
541 -./test/.coq-native/Ntest_test.cmxs
542 -./test/test.glob
543 -./test/test.v
544 -./test/test.vo
545 -EOT
546 -(rocq -config | grep -q "NATIVE_COMPILER_DEFAULT=yes") || sed -i.bak '/\.coq-native/d' desired
547 -diff -u desired actual
548 -
549 -(cd "$(find tmp -name coq-test-suite)" && find .) | sort > actual
550 -sort > desired <<EOT
551 -.
552 -./META
553 -./test.cmi
554 -./test.cmx
555 -./test_aux.cmi
556 -./test_aux.cmx
557 -./test_plugin.cmxa
558 -./test_plugin.cmxs
559 -EOT
560 -diff -u desired actual
561 --- coq.orig/test-suite/coq-makefile/uninstall1/run.sh
562 +++ /dev/null
563 @@ -1,26 +0,0 @@
564 -#!/usr/bin/bash
565 -
566 -. ../template/init.sh
567 -
568 -rocq makefile -f _CoqProject -o Makefile
569 -cat Makefile.conf
570 -make
571 -make html mlihtml
572 -make install DSTROOT="$PWD/tmp"
573 -make install-doc DSTROOT="$PWD/tmp"
574 -make uninstall DSTROOT="$PWD/tmp"
575 -make uninstall-doc DSTROOT="$PWD/tmp"
576 -#make debug
577 -(
578 - while IFS= read -r -d '' d
579 - do
580 - pushd "$d" >/dev/null && find . && popd >/dev/null
581 - done < <(find tmp \( -name user-contrib -o -name coq-test-suite \) -print0)
582 -) | sort -u > actual
583 -sort -u > desired <<EOT
584 -.
585 -./test
586 -./test/sub
587 -EOT
588 -(rocq -config | grep -q "NATIVE_COMPILER_DEFAULT=yes") || sed -i.bak '/test/d' desired
589 -exec diff -u desired actual
590 --- coq.orig/test-suite/coq-makefile/uninstall2/run.sh
591 +++ /dev/null
592 @@ -1,26 +0,0 @@
593 -#!/usr/bin/bash
594 -
595 -. ../template/init.sh
596 -
597 -rocq makefile -f _CoqProject -o Makefile
598 -cat Makefile.conf
599 -make
600 -make html mlihtml
601 -make install DSTROOT="$PWD/tmp"
602 -make install-doc DSTROOT="$PWD/tmp"
603 -make uninstall DSTROOT="$PWD/tmp"
604 -make uninstall-doc DSTROOT="$PWD/tmp"
605 -#make debug
606 -(
607 - while IFS= read -r -d '' d
608 - do
609 - pushd "$d" >/dev/null && find . && popd >/dev/null
610 - done < <(find tmp -name user-contrib -print0)
611 -) | sort -u > actual
612 -sort -u > desired <<EOT
613 -.
614 -./test
615 -./test/sub
616 -EOT
617 -(rocq -config | grep -q "NATIVE_COMPILER_DEFAULT=yes") || sed -i.bak '/test/d' desired
618 -exec diff -u desired actual
619 --- coq.orig/test-suite/coq-makefile/validate1/run.sh
620 +++ /dev/null
621 @@ -1,8 +0,0 @@
622 -#!/usr/bin/bash
623 -
624 -. ../template/init.sh
625 -
626 -rocq makefile -f _CoqProject -o Makefile
627 -cat Makefile.conf
628 -make
629 -exec make validate
630 --- coq.orig/test-suite/misc/printers.sh
631 +++ /dev/null
632 @@ -1,12 +0,0 @@
633 -#!/bin/sh
634 -
635 -f=$(mktemp)
636 -{
637 - printf 'Drop.\n#go;;\nQuit.\n' | "${BIN}rocq" repl-with-drop -q
638 -} 2>&1 | grep -a -v "Welcome to Rocq" | tee "$f"
639 -
640 -# if there's an issue in `include_utilities`, `#go;;` won't be mentioned
641 -# if there's an issue in `include_printers`, it will be an undefined printer
642 -if ! grep -q -F '#go;;' "$f" ||
643 - grep -q -E -i 'Error|Unbound|Anomaly' "$f";
644 -then exit 1; fi