summaryrefslogtreecommitdiff
path: root/debian/patches/remove-tests-that-need-coqlib.patch
blob: 48cd1b968e945d762902bfe089639d865b6612df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
From: Benjamin Barenblat <bbaren@debian.org>
Subject: Disable tests which require -coqlib to be set
Bug: https://github.com/coq/coq/issues/5975
Forwarded: not-needed

A number of tests (mostly for coq_makefile) assume that Coq is
installed when the test runs. This isn't true in an sbuild environment,
though, so disable those tests.
--- a/test-suite/misc/printers.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-printf "Drop. #use\"include\";; #quit;;\n" | $coqtopbyte 2>&1 | egrep "Error|Unbound"
-if [ $? = 0 ]; then exit 1; else exit 0; fi
-
--- a/test-suite/coq-makefile/arg/run.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/usr/bin/env bash
-
-. ../template/init.sh
-
-coq_makefile -f _CoqProject -o Makefile
-cat Makefile.conf
-make
--- a/test-suite/coq-makefile/compat-subdirs/run.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/usr/bin/env bash
-
-. ../template/init.sh
-
-coq_makefile -f _CoqProject -o Makefile
-cat Makefile.conf
-make
-exec test -f "subdir/done"
--- a/test-suite/coq-makefile/coqdoc1/run.sh
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/usr/bin/env bash
-
-. ../template/init.sh
-
-coq_makefile -f _CoqProject -o Makefile
-cat Makefile.conf
-make
-make html mlihtml
-make install DSTROOT="$PWD/tmp"
-make install-doc DSTROOT="$PWD/tmp"
-#make debug
-(for d in `find tmp -name user-contrib` ; do pushd $d >/dev/null && find . && popd >/dev/null; done) | sort -u > actual
-sort -u > desired <<EOT
-.
-./test
-./test/test_plugin.cmi
-./test/test_plugin.cmx
-./test/test_plugin.cmxa
-./test/test_plugin.cmxs
-./test/test.glob
-./test/test.v
-./test/test.vo
-./test/sub
-./test/sub/testsub.glob
-./test/sub/testsub.v
-./test/sub/testsub.vo
-./test/mlihtml
-./test/mlihtml/index_exceptions.html
-./test/mlihtml/index.html
-./test/mlihtml/index_class_types.html
-./test/mlihtml/type_Test_aux.html
-./test/mlihtml/index_module_types.html
-./test/mlihtml/index_classes.html
-./test/mlihtml/type_Test.html
-./test/mlihtml/style.css
-./test/mlihtml/index_attributes.html
-./test/mlihtml/index_types.html
-./test/mlihtml/Test_aux.html
-./test/mlihtml/index_values.html
-./test/mlihtml/Test.html
-./test/mlihtml/index_extensions.html
-./test/mlihtml/index_methods.html
-./test/mlihtml/index_modules.html
-./test/html
-./test/html/index.html
-./test/html/test.sub.testsub.html
-./test/html/toc.html
-./test/html/coqdoc.css
-./test/html/test.test.html
-EOT
-exec diff -u desired actual
--- a/test-suite/coq-makefile/coqdoc2/run.sh
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/usr/bin/env bash
-
-. ../template/init.sh
-
-coq_makefile -f _CoqProject -o Makefile
-cat Makefile.conf
-make
-make html mlihtml
-make install DSTROOT="$PWD/tmp"
-make install-doc DSTROOT="$PWD/tmp"
-#make debug
-(for d in `find tmp -name user-contrib` ; do pushd $d >/dev/null && find . && popd >/dev/null; done) | sort -u > actual
-sort -u > desired <<EOT
-.
-./test
-./test/test_plugin.cmi
-./test/test_plugin.cmx
-./test/test_plugin.cmxa
-./test/test_plugin.cmxs
-./test/test.glob
-./test/test.v
-./test/test.vo
-./test/sub
-./test/sub/testsub.glob
-./test/sub/testsub.v
-./test/sub/testsub.vo
-./test/mlihtml
-./test/mlihtml/index_exceptions.html
-./test/mlihtml/index.html
-./test/mlihtml/index_class_types.html
-./test/mlihtml/type_Test_aux.html
-./test/mlihtml/index_module_types.html
-./test/mlihtml/index_classes.html
-./test/mlihtml/type_Test.html
-./test/mlihtml/style.css
-./test/mlihtml/index_attributes.html
-./test/mlihtml/index_types.html
-./test/mlihtml/Test_aux.html
-./test/mlihtml/index_values.html
-./test/mlihtml/Test.html
-./test/mlihtml/index_extensions.html
-./test/mlihtml/index_methods.html
-./test/mlihtml/index_modules.html
-./test/html
-./test/html/index.html
-./test/html/test.sub.testsub.html
-./test/html/toc.html
-./test/html/coqdoc.css
-./test/html/test.test.html
-EOT
-exec diff -u desired actual
--- a/test-suite/coq-makefile/emptyprefix/run.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env bash
-
-set -e
-
-. ../template/init.sh
-
-mv theories/sub theories2
-
-coq_makefile -f _CoqProject -o Makefile
-cat Makefile.conf
-make
-
-cp ../_CoqProject.sub theories2/_CoqProject
-cd theories2
-coq_makefile -f _CoqProject -o Makefile
-cat Makefile.conf
-make
--- a/test-suite/coq-makefile/extend-subdirs/run.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/usr/bin/env bash
-
-. ../template/init.sh
-
-coq_makefile -f _CoqProject -o Makefile
-cat Makefile.conf
-make
-exec test -f "subdir/done"
--- a/test-suite/coq-makefile/findlib-package/run.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/usr/bin/env bash
-
-. ../template/init.sh
-
-echo "let () = Foolib.foo ();;" >> src/test_aux.ml
-export OCAMLPATH=$OCAMLPATH:$PWD/findlib
-if which cygpath 2>/dev/null; then
-  # the only way I found to pass OCAMLPATH on win is to have it contain
-  # only one entry
-  export OCAMLPATH=`cygpath -w $PWD/findlib`
-fi
-make -C findlib/foo clean
-coq_makefile -f _CoqProject -o Makefile
-cat Makefile.conf
-cat Makefile.local
-make -C findlib/foo
-make
-make byte
--- a/test-suite/coq-makefile/latex1/run.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/usr/bin/env bash
-
-if which pdflatex; then
-
-. ../template/init.sh
-	
-coq_makefile -f _CoqProject -o Makefile
-cat Makefile.conf
-make
-exec make all.pdf
-
-fi
-exit 0 # test skipped
--- a/test-suite/coq-makefile/merlin1/run.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/usr/bin/env bash
-
-. ../template/init.sh
-
-coq_makefile -f _CoqProject -o Makefile
-cat Makefile.conf
-make .merlin
-cat > desired <<EOT
-B src
-S src
-EOT
-tail -2 .merlin > actual
-exec diff -u desired actual
--- a/test-suite/coq-makefile/mlpack1/run.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/usr/bin/env bash
-
-. ../template/init.sh
-
-coq_makefile -f _CoqProject -o Makefile
-cat Makefile.conf
-make
-make html mlihtml
-make install DSTROOT="$PWD/tmp"
-#make debug
-(cd `find tmp -name user-contrib` && find .) | sort > actual
-sort > desired <<EOT
-.
-./test
-./test/test.glob
-./test/test_plugin.cmi
-./test/test_plugin.cmx
-./test/test_plugin.cmxa
-./test/test_plugin.cmxs
-./test/test.v
-./test/test.vo
-EOT
-exec diff -u desired actual
--- a/test-suite/coq-makefile/mlpack2/run.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/usr/bin/env bash
-
-. ../template/init.sh
-
-coq_makefile -f _CoqProject -o Makefile
-cat Makefile.conf
-make
-make html mlihtml
-make install DSTROOT="$PWD/tmp"
-#make debug
-(cd `find tmp -name user-contrib` && find .) | sort > actual
-sort > desired <<EOT
-.
-./test
-./test/test.glob
-./test/test_plugin.cmi
-./test/test_plugin.cmx
-./test/test_plugin.cmxa
-./test/test_plugin.cmxs
-./test/test.v
-./test/test.vo
-EOT
-exec diff -u desired actual
--- a/test-suite/coq-makefile/multiroot/run.sh
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/usr/bin/env bash
-
-. ../template/init.sh
-
-cp -r theories theories2
-mv src/test_plugin.mlpack src/test_plugin.mllib
-coq_makefile -f _CoqProject -o Makefile
-cat Makefile.conf
-make
-make html mlihtml
-make install DSTROOT="$PWD/tmp"
-make install-doc DSTROOT="$PWD/tmp"
-#make debug
-(for d in `find tmp -name user-contrib` ; do pushd $d >/dev/null && find . && popd >/dev/null; done) | sort -u > actual
-sort > desired <<EOT
-.
-./test
-./test/test.glob
-./test/test.cmi
-./test/test.cmx
-./test/test_aux.cmi
-./test/test_aux.cmx
-./test/test_plugin.cmxa
-./test/test_plugin.cmxs
-./test/test.v
-./test/test.vo
-./test2
-./test2/test.glob
-./test2/test.v
-./test2/test.vo
-./orphan_test_test2_test
-./orphan_test_test2_test/html
-./orphan_test_test2_test/html/coqdoc.css
-./orphan_test_test2_test/html/index.html
-./orphan_test_test2_test/html/test2.test.html
-./orphan_test_test2_test/html/test.test.html
-./orphan_test_test2_test/html/toc.html
-./orphan_test_test2_test/mlihtml
-./orphan_test_test2_test/mlihtml/index_attributes.html
-./orphan_test_test2_test/mlihtml/index_classes.html
-./orphan_test_test2_test/mlihtml/index_class_types.html
-./orphan_test_test2_test/mlihtml/index_exceptions.html
-./orphan_test_test2_test/mlihtml/index_extensions.html
-./orphan_test_test2_test/mlihtml/index.html
-./orphan_test_test2_test/mlihtml/index_methods.html
-./orphan_test_test2_test/mlihtml/index_modules.html
-./orphan_test_test2_test/mlihtml/index_module_types.html
-./orphan_test_test2_test/mlihtml/index_types.html
-./orphan_test_test2_test/mlihtml/index_values.html
-./orphan_test_test2_test/mlihtml/style.css
-./orphan_test_test2_test/mlihtml/Test_aux.html
-./orphan_test_test2_test/mlihtml/Test.html
-./orphan_test_test2_test/mlihtml/type_Test_aux.html
-./orphan_test_test2_test/mlihtml/type_Test.html
-EOT
-exec diff -u desired actual
--- a/test-suite/coq-makefile/only/run.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/usr/bin/env bash
-
-. ../template/init.sh
-
-coq_makefile -f _CoqProject -o Makefile
-cat Makefile.conf
-make only TGTS="src/test.cmi src/test_aux.cmi" -j2
-test -f src/test.cmi
-test -f src/test_aux.cmi
-! test -f src/test.cmo
--- a/test-suite/coq-makefile/plugin1/run.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/usr/bin/env bash
-
-. ../template/init.sh
-
-mv src/test_plugin.mlpack src/test_plugin.mllib
-coq_makefile -f _CoqProject -o Makefile
-cat Makefile.conf
-make
-make html mlihtml
-make install DSTROOT="$PWD/tmp"
-#make debug
-(cd `find tmp -name user-contrib` && find .) | sort > actual
-sort > desired <<EOT
-.
-./test
-./test/test.glob
-./test/test.cmi
-./test/test.cmx
-./test/test_aux.cmi
-./test/test_aux.cmx
-./test/test_plugin.cmxa
-./test/test_plugin.cmxs
-./test/test.v
-./test/test.vo
-EOT
-exec diff -u desired actual
--- a/test-suite/coq-makefile/plugin2/run.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/usr/bin/env bash
-
-. ../template/init.sh
-
-mv src/test_plugin.mlpack src/test_plugin.mllib
-coq_makefile -f _CoqProject -o Makefile
-cat Makefile.conf
-make
-make html mlihtml
-make install DSTROOT="$PWD/tmp"
-#make debug
-(cd `find tmp -name user-contrib` && find .) | sort > actual
-sort > desired <<EOT
-.
-./test
-./test/test.glob
-./test/test.cmi
-./test/test.cmx
-./test/test_aux.cmi
-./test/test_aux.cmx
-./test/test_plugin.cmxa
-./test/test_plugin.cmxs
-./test/test.v
-./test/test.vo
-EOT
-exec diff -u desired actual
--- a/test-suite/coq-makefile/plugin3/run.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/usr/bin/env bash
-
-. ../template/init.sh
-
-mv src/test_plugin.mlpack src/test_plugin.mllib
-coq_makefile -f _CoqProject -o Makefile
-cat Makefile.conf
-make
-make html mlihtml
-make install DSTROOT="$PWD/tmp"
-#make debug
-(cd `find tmp -name user-contrib` && find .) | sort > actual
-sort > desired <<EOT
-.
-./test
-./test/test.glob
-./test/test.cmi
-./test/test.cmx
-./test/test_aux.cmi
-./test/test_aux.cmx
-./test/test_plugin.cmxa
-./test/test_plugin.cmxs
-./test/test.v
-./test/test.vo
-EOT
-exec diff -u desired actual
--- a/test-suite/coq-makefile/quick2vo/run.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/usr/bin/env bash
-a=`uname`
-
-. ../template/init.sh
-
-coq_makefile -f _CoqProject -o Makefile
-# vio2vo is broken on Windows (#6720)
-if [ "$a" = "Darwin" -o "$a" = "Linux" ]; then
-    make quick2vo J=2
-    test -f theories/test.vo
-    make validate
-fi
--- a/test-suite/coq-makefile/uninstall1/run.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/usr/bin/env bash
-
-. ../template/init.sh
-
-coq_makefile -f _CoqProject -o Makefile
-cat Makefile.conf
-make
-make html mlihtml
-make install DSTROOT="$PWD/tmp"
-make install-doc DSTROOT="$PWD/tmp"
-make uninstall DSTROOT="$PWD/tmp"
-make uninstall-doc DSTROOT="$PWD/tmp"
-#make debug
-(for d in `find tmp -name user-contrib` ; do pushd $d >/dev/null && find . && popd >/dev/null; done) | sort -u > actual
-sort -u > desired <<EOT
-.
-EOT
-exec diff -u desired actual
--- a/test-suite/coq-makefile/uninstall2/run.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/usr/bin/env bash
-
-. ../template/init.sh
-
-coq_makefile -f _CoqProject -o Makefile
-cat Makefile.conf
-make
-make html mlihtml
-make install DSTROOT="$PWD/tmp"
-make install-doc DSTROOT="$PWD/tmp"
-make uninstall DSTROOT="$PWD/tmp"
-make uninstall-doc DSTROOT="$PWD/tmp"
-#make debug
-(for d in `find tmp -name user-contrib` ; do pushd $d >/dev/null && find . && popd >/dev/null; done) | sort -u > actual
-sort -u > desired <<EOT
-.
-EOT
-exec diff -u desired actual
--- a/test-suite/coq-makefile/validate1/run.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/usr/bin/env bash
-
-. ../template/init.sh
-
-coq_makefile -f _CoqProject -o Makefile
-cat Makefile.conf
-make
-exec make validate
--- a/test-suite/coq-makefile/vio2vo/run.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/usr/bin/env bash
-a=`uname`
-
-. ../template/init.sh
-
-coq_makefile -f _CoqProject -o Makefile
-make quick
-# vio2vo is broken on Windows (#6720)
-if [ "$a" = "Darwin" -o "$a" = "Linux" ]; then
-    make vio2vo J=2
-    test -f theories/test.vo
-    make validate
-fi
--- a/test-suite/coq-makefile/timing/run.sh
+++ /dev/null
@@ -1,108 +0,0 @@
-#!/usr/bin/env bash
-
-#set -x
-set -e
-
-. ../template/path-init.sh
-
-# reset MAKEFLAGS so that, e.g., `make -C test-suite -B coq-makefile` doesn't give us issues
-
-MAKEFLAGS=
-
-cd precomputed-time-tests
-./run.sh || exit $?
-
-cd ../error
-coq_makefile -f _CoqProject -o Makefile
-make cleanall
-if make pretty-timed TGTS="all" -j1; then
-    echo "Error: make pretty-timed should have failed"
-    exit 1
-fi
-
-cd ../aggregate
-coq_makefile -f _CoqProject -o Makefile
-make cleanall
-make pretty-timed TGTS="all" -j1 || exit $?
-
-cd ../before
-coq_makefile -f _CoqProject -o Makefile
-make cleanall
-make make-pretty-timed-before TGTS="all" -j1 || exit $?
-
-cd ../after
-coq_makefile -f _CoqProject -o Makefile
-make cleanall
-make make-pretty-timed-after TGTS="all" -j1 || exit $?
-rm -f time-of-build-before.log
-make print-pretty-timed-diff TIMING_SORT_BY=diff TIME_OF_BUILD_BEFORE_FILE=../before/time-of-build-before.log
-cp ../before/time-of-build-before.log ./
-make print-pretty-timed-diff TIMING_SORT_BY=diff || exit $?
-
-INFINITY="∞"
-INFINITY_REPLACEMENT="+.%" # assume that if the before time is zero, we expected the time to increase
-
-TO_SED_IN_BOTH=(
-    -e s"/${INFINITY}/${INFINITY_REPLACEMENT}/g" # Whether or not something shows up as ∞ depends on whether a time registers as 0.s or as 0.001s, so we can't rely on this being consistent
-    -e s':|\s*N/A\s*$:| '"${INFINITY_REPLACEMENT}"':g' # Whether or not something shows up as N/A depends on whether a time registers as 0.s or as 0.001s, so we can't rely on this being consistent
-    -e s'/ *$//g' # the number of trailing spaces depends on how many digits percentages end up being; since this varies across runs, we remove trailing spaces
-    -e s'/[0-9]*\.[0-9]*//g' # the precise timing numbers vary, so we strip them out
-    -e s'/^-*$/------/g' # When none of the numbers get over 100 (or 1000, in per-file), the width of the table is different, so we normalize the number of dashes for table separators
-    -e s'/+/-/g' # some code lines don't really change, but this can show up as either -0m00.01s or +0m00.01s, so we need to normalize the signs; additionally, some N/A's show up where we expect to get -∞ on the per-line file, and so the ∞-replacement gets the sign wrong, so we must correct it
-)
-
-TO_SED_IN_PER_FILE=(
-    -e s'/[0-9]//g' # unclear whether this is actually needed above and beyond s'/[0-9]*\.[0-9]*//g'; it's been here from the start
-    -e s'/  */ /g' # unclear whether this is actually needed for per-file timing; it's been here from the start
-    -e s'/\(Total.*\)-\(.*\)-/\1+\2+/g' # Overall time in the per-file timing diff should be around 0; if it comes out negative, we remove the sign
-)
-
-TO_SED_IN_PER_LINE=(
-    -e s'/0//g' # unclear whether this is actually needed above and beyond s'/[0-9]*\.[0-9]*//g'; it's been here from the start
-    -e s'/  */ /g' # Sometimes 0 will show up as 0m00.s, sometimes it'll end up being more like 0m00.001s; we must strip out the spaces that result from left-aligning numbers of different widths based on how many digits Coq's [-time] gives
-    )
-
-for ext in "" .desired; do
-    for file in time-of-build-before.log time-of-build-after.log time-of-build-both.log; do
-        cat ${file}${ext} | grep -v 'warning: undefined variable' | sed "${TO_SED_IN_BOTH[@]}" "${TO_SED_IN_PER_FILE[@]}" > ${file}${ext}.processed
-    done
-done
-for file in time-of-build-before.log time-of-build-after.log time-of-build-both.log; do
-    echo "cat $file"
-    cat "$file"
-    echo
-    diff -u $file.desired.processed $file.processed || exit $?
-done
-
-cd ../per-file-before
-coq_makefile -f _CoqProject -o Makefile
-make cleanall
-make all TIMING=before -j2 || exit $?
-
-cd ../per-file-after
-coq_makefile -f _CoqProject -o Makefile
-make cleanall
-make all TIMING=after -j2 || exit $?
-
-find ../per-file-before/ -name "*.before-timing" -exec 'cp' '{}' './' ';'
-make all.timing.diff -j2 || exit $?
-echo "cat A.v.before-timing"
-cat A.v.before-timing
-echo
-echo "cat A.v.after-timing"
-cat A.v.after-timing
-echo
-echo "cat A.v.timing.diff"
-cat A.v.timing.diff
-echo
-
-for ext in "" .desired; do
-    for file in A.v.timing.diff; do
-        cat ${file}${ext} | sed "${TO_SED_IN_BOTH[@]}" "${TO_SED_IN_PER_LINE[@]}" | sort > ${file}${ext}.processed
-    done
-done
-for file in A.v.timing.diff; do
-    diff -u $file.desired.processed $file.processed || exit $?
-done
-
-exit 0