-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog
3819 lines (2614 loc) · 118 KB
/
ChangeLog
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
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2019-03-08 Andrew Burgess <[email protected]>
* runtest.exp (search_and_load_file): Join the directory and
filename once using 'file join'.
2019-01-24 Jacob Bachmeyer <[email protected]>
* doc/dejagnu.texi: Refill paragraphs and normalize inter-sentence
spacing so the Emacs move-by-sentence commands work correctly.
2019-01-23 Ben Elliston <[email protected]>
* doc/dejagnu.texi: Replace "config file" with "configuration
file" throughout.
2019-01-23 Jacob Bachmeyer <[email protected]>
* doc/dejagnu.texi (Command line option variables): Improve table
formatting to fix overlapping columns and revise text slightly.
2019-01-23 Jacob Bachmeyer <[email protected]>
* doc/dejagnu.texi (Global config file): Change example to use the
Tcl "switch" command instead of the deprecated "case" command.
2019-01-12 Jacob Bachmeyer <[email protected]>
* doc/dejagnu.texi (runtest_file_p procedure): Fix description of
the structure of the "runtests" argument.
2019-01-12 Ben Elliston <[email protected]>
* doc/dejagnu.texi: Various documentation fixes.
2019-01-10 Jacob Bachmeyer <[email protected]>
* testsuite/runtest.libs/clone_output.test: Use new test harness
for verifying output of clone_output.
* testsuite/runtest.libs/default_procs.tcl (send_error): Roll into
template using store_test_output.
(send_log): Likewise.
(send_user): Likewise.
(clear_test_output): New proc.
(store_test_output): New proc.
* lib/framework.exp (clone_output): Actually send errors to the
error stream; bug found while improving testsuite.
2019-01-10 Jacob Bachmeyer <[email protected]>
* testsuite/runtest.libs/libs.exp (process_test): Handle blank
lines from child process correctly.
2019-01-02 Jacob Bachmeyer <[email protected]>
* NEWS: Document report card.
* Makefile.am (clean-local): Add target.
(clean-local-check): Add target; mark as PHONY.
(commands_DATA): Add "report-card" scripts.
(dist_man_MANS): Add dejagnu-report-card.1 and split.
(DEJATOOL): Add "report-card" tool.
(TESTSUITE_FILES): Add testsuite for "report-card" tool.
* commands/report-card.awk: New command script.
* doc/dejagnu.texi (Invoking dejagnu report card): New node.
* doc/dejagnu-report-card.1: New man page.
* testsuite/lib/bohman_ssd.exp: New file.
* testsuite/lib/report-card.exp: New file.
* testsuite/report-card.all/onetest.exp: New file.
* testsuite/report-card.all/passes.exp: New file.
2019-01-02 Ben Elliston <[email protected]>
* Makefile.am (DISTCLEANFILES): Don't use this.
(CLEANFILES): Use this instead.
* Makefile.in: Regenerate.
2019-01-01 Ben Elliston <[email protected]>
* configure.ac: Abort if AWK is not installed.
* configure: Regenerate.
2019-01-01 Ben Elliston <[email protected]>
* config.guess: Update to latest version.
* config.sub: Likewise.
2019-01-01 Ben Elliston <[email protected]>
* configure.ac: Add AC_PROG_AWK check.
* configure: Regenerate.
2018-12-29 Jacob Bachmeyer <[email protected]>
* dejagnu: Avoid use of semicolon as sed(1) command separator.
POSIX does not clearly require sed(1) to support that feature.
2018-12-28 Jacob Bachmeyer <[email protected]>
* testsuite/lib/util-defs.exp: Whitespace clean up.
2018-12-21 Jacob Bachmeyer <[email protected]>
PR 33817
* dejagnu: Improve command parsing to fix bug. Previously, the
documented equivalence between "multi word command" and
"multi-word-command" did not hold if no arguments were given.
* testsuite/launcher.all/command.exp: Add tests.
2018-12-20 Ben Elliston <[email protected]>
* NEWS: Add item for new dejagnu command.
* Makefile.am (EXTRA_DIST): Remove $(XML).
* Makefile.in: Regenerate.
2018-12-20 Jacob Bachmeyer <[email protected]>
* Makefile.am (EXTRA_DIST): Add "dejagnu" launcher script and
contents of $(commands_DATA).
(bin_SCRIPTS): Add "dejagnu" launcher script.
(commandsdir): Installation directory for "dejagnu" subcommands is
$(pkgdatadir)/commands.
(commands_DATA): New, contains "commands/help.sh" as initial item.
(TESTSUITE_FILES): Add testsuite for same.
(DEJATOOL): Add "launcher" to list of tools to test.
(dist_man_MANS): Add man pages for "dejagnu" and "dejagnu help".
* doc/dejagnu.texi (Running other DejaGnu commands): New chapter.
(Invoking dejagnu): New node for dejagnu(1) launcher script.
(Invoking dejagnu help): New node.
* doc/dejagnu.1: New man page.
* doc/dejagnu-help.1: New man page.
* dejagnu: New script.
* commands/help.sh: New dejagnu subcommand for reading manpages.
* testsuite/launcher.all/command.exp: New file.
* testsuite/launcher.all/command/commands/bar-baz.awk: New file.
* testsuite/launcher.all/command/commands/bar.awk: New file.
* testsuite/launcher.all/command/commands/bar.sh: New file.
* testsuite/launcher.all/command/commands/baz-quux.gawk: New file.
* testsuite/launcher.all/command/commands/foo.sh: New file.
* testsuite/launcher.all/command/commands/foo.tcl: New file.
* testsuite/launcher.all/help.exp: New file.
* testsuite/launcher.all/interp.exp: New file.
* testsuite/launcher.all/verbose.exp: New file.
* testsuite/lib/launcher.exp: New file.
2018-12-20 Jacob Bachmeyer <[email protected]>
* doc/dejagnu.texi (bt procedure): Fix Info links.
2018-12-17 Ben Elliston <[email protected]>
* doc/dejagnu.texi (Board config file): Fix up @ref.
(Command line option variables): Likewise.
(Debugging Procedures): Add an entry for 'bt' command.
2018-12-16 Jacob Bachmeyer <[email protected]>
* runtest.exp: Move processing of -V|--version option to first
pass through command line arguments instead of delaying it.
2018-12-16 Jacob Bachmeyer <[email protected]>
* Makefile.am (RUNTESTDEFAULTFLAGS): Remove; no longer needed.
* Makefile.in: Regenerate.
2018-12-15 Ben Elliston <[email protected]>
* doc/dejagnu.texi (telnet Procedure): Remove old node.
(rlogin Procedure): Likewise.
(rsh Procedure): Likewise.
(tip Procedure): Likewise.
(kermit Procedure): Likewise.
(list_targets Procedure): Likewise.
(prune_system_crud): Likewise.
2018-12-15 Jacob Bachmeyer <[email protected]>
* testsuite/runtest.libs/default_procs.tcl (send_error): New stub.
(send_user): Likewise.
* testsuite/runtest.libs/clone_output.test: Remove unneeded global
variable link at top-level.
* testsuite/runtest.libs/utils.test: Adjust absolute path to
config.status.
* testsuite/runtest.libs/clone_output.test: Use preset srcdir,
subdir, and objdir variables instead of extracting them from argv.
Remove setval.tmp, which is now obsolete.
* testsuite/runtest.libs/config.test: Likewise.
* testsuite/runtest.libs/remote.test: Likewise.
* testsuite/runtest.libs/target.test: Likewise.
* testsuite/runtest.libs/testsuite_file.test: Likewise.
* testsuite/runtest.libs/utils.test: Likewise.
* testsuite/lib/libsup.exp (make_defaults_file): Replace this ..
(send_defaults): .. with this.
(start_expect): Remove redundant code.
* testsuite/runtest.libs/libs.exp: Eliminate setval.tmp file.
Remove unneeded test for EXPECT global variable.
Use one Expect subprocess to run all test cases.
(process_test): Redesign to use Expect subprocess and to use
throwaway slave interpreters for running test cases.
2018-12-15 Jacob Bachmeyer <[email protected]>
* testsuite/lib/runtest.exp (runtest_start): Remove.
Move the sanity check in runtest_start to top-level and similarly
check to ensure that $EXPECT can be found. Make failure of either
sanity check an immediate fatal error.
Improve error messages for sanity checks to indicate which
critical tool was not found. Remove useless 'global RUNTEST'
command at top-level.
(runtest_version): Brace 'if' expression.
2018-12-15 Jacob Bachmeyer <[email protected]>
* testsuite/lib/runtest.exp: Use 'testsuite file' to locate the
default runtest executable instead of implicitly searching PATH.
Remove unused RUNTESTFLAGS Tcl variable.
2018-12-15 Jacob Bachmeyer <[email protected]>
* testsuite/lib/runtest.exp (runtest_start): Remove unused global
variable links.
2018-12-14 Jacob Bachmeyer <[email protected]>
* lib/framework.exp (log_summary): Remove "testcnt" mechanism.
* testsuite/lib/libsup.exp: Remove obsolete "testcnt" variable.
2018-12-12 Ben Elliston <[email protected]>
* config/gdb-comm.exp, config/gdb_stub.exp, config/vxworks.exp,
lib/dg.exp, lib/ftp.exp, lib/kermit.exp, lib/rlogin.exp,
lib/telnet.exp, runtest.exp, testsuite/lib/libsup.exp: Simplify
some regular expressions in constant strings by placing them
inside braces instead of quotes. This allows one level of
backslash quoting to be removed.
2018-12-12 Ben Elliston <[email protected]>
* doc/dejagnu.texi: Acknowledge contributions to the manual from
others.
2018-12-11 Jacob Bachmeyer <[email protected]>
* testsuite/runtest.all/libs.exp: Use "testsuite file" command.
* testsuite/runtest.all/load_lib.exp: Likewise.
* testsuite/runtest.all/stats.exp: Likewise.
* testsuite/runtest.all/stats.exp: Write local init file as
"stats-init.exp" for status summary tests. Use --local_init
option to runtest to load that file instead of site.exp and move
the inner test module to a nested testsuite.
* testsuite/runtest.all/stats-sub.exp: Move file from here ..
* testsuite/runtest.all/stats/testsuite/stat.test/stats-sub.exp:
.. to here.
* testsuite/runtest.all/options.exp: Clean up whitespace in file.
Wrap lines in test list and move short items to beginning of list.
Write local init file as "options-init.exp" for options tests.
Use --local_init option with nested runtest to load that file
instead of site.exp; also create an empty nested testsuite. Local
init file arranges for inner runtest processes to run in a
subdirectory in the object tree to eliminate filename clashes.
Set tmpdir if not already set and remove entire temporary
directory after running options tests.
* testsuite/runtest.all/options/testsuite/null.test/null.exp: New.
* testsuite/runtest.all/clone_output.test: Move from here ..
* testsuite/runtest.libs/clone_output.test: .. to here.
* testsuite/runtest.all/config.test: Move from here ..
* testsuite/runtest.libs/config.test: .. to here.
* testsuite/runtest.all/default_procs.tcl: Move from here ..
* testsuite/runtest.libs/default_procs.tcl: .. to here.
* testsuite/runtest.all/libs.exp: Move from here ..
* testsuite/runtest.libs/libs.exp: .. to here.
* testsuite/runtest.all/load_lib.exp: Move from here ..
* testsuite/runtest.libs/load_lib.exp: .. to here.
* testsuite/runtest.all/remote.test: Move from here ..
* testsuite/runtest.libs/remote.test: .. to here.
* testsuite/runtest.all/target.test: Move from here ..
* testsuite/runtest.libs/target.test: .. to here.
* testsuite/runtest.all/testsuite_file.test: Move from here ..
* testsuite/runtest.libs/testsuite_file.test: .. to here.
* testsuite/runtest.all/topdir/subdir1/subfile1: Move from here ..
* testsuite/runtest.libs/topdir/subdir1/subfile1: .. to here.
* testsuite/runtest.all/topdir/subdir1/subfile2: Move from here ..
* testsuite/runtest.libs/topdir/subdir1/subfile2: .. to here.
* testsuite/runtest.all/topdir/subdir1/subsubdir1/subsubfile1:
Move from here ..
* testsuite/runtest.libs/topdir/subdir1/subsubdir1/subsubfile1:
.. to here.
* testsuite/runtest.all/topdir/subdir2/subfile2: Move from here ..
* testsuite/runtest.libs/topdir/subdir2/subfile2: .. to here.
* testsuite/runtest.all/utils.test: Move from here ..
* testsuite/runtest.libs/utils.test: .. to here.
* testsuite/runtest.libs/utils.test: Update references to
"runtest.all".
* testsuite/runtest.all/options.exp: Move from here ..
* testsuite/runtest.main/options.exp: .. to here.
* testsuite/runtest.all/options/testsuite/null.test/null.exp: Move
from here ..
* testsuite/runtest.main/options/testsuite/null.test/null.exp:
.. to here.
* testsuite/runtest.all/stats.exp: Move from here ..
* testsuite/runtest.main/stats.exp: .. to here.
* testsuite/runtest.all/stats/testsuite/stat.test/stats-sub.exp:
Move from here ..
* testsuite/runtest.main/stats/testsuite/stat.test/stats-sub.exp:
.. to here.
* Makefile.am (DISTCLEANFILES): Update for testsuite improvements.
(TESTSUITE_FILES): Update to reflect testsuite reorganization.
* Makefile.in: Regenerate.
2018-12-11 Jacob Bachmeyer <[email protected]>
* doc/dejagnu.texi: Clean up whitespace. Some indented examples
were changed to use the Texinfo '@ ' command (yes, a space
character) to preserve correct indentation. The '@ ' command is
treated as a single space by Tex and makeinfo, but prevents Emacs
from complaining about indentation using spaces instead of tabs.
2018-12-11 Jacob Bachmeyer <[email protected]>
* doc/dejagnu.texi (getdirs procedure): Document hard-coded
directory exclusions by name in this procedure.
2018-12-10 Ben Elliston <[email protected]>
* doc/dejagnu.texi (getdirs procedure): This procedure accepts Tcl
glob patterns, not "shell wildcard characters" per se.
* doc/dejagnu.texi (istarget procedure): Remove stray @{.
2018-12-10 Jacob Bachmeyer <[email protected]>
* doc/dejagnu.texi (Writing a test case): Add warning about
priority of Expect patterns, complete with example.
* testsuite/runtest.all/libs.exp (process_test): Fix bug that
caused test results other than "PASS" to be skipped if a "PASS" is
further along in the input buffer. Describe problem in manual.
(process_test): Ensure that the log file shows each test case run.
(process_test): Directly run the test cases instead of using
temporary files and "cat". All output is always available in the
log file, which is no longer overwritten by other tests.
(process_test): Expect END markers from test case scripts.
* testsuite/runtest.all/clone_output.test: Emit END markers.
* testsuite/runtest.all/config.test: Likewise.
* testsuite/runtest.all/remote.test: Likewise.
* testsuite/runtest.all/target.test: Likewise.
* testsuite/runtest.all/testsuite_file.test: Likewise.
* testsuite/runtest.all/utils.test: Likewise.
2018-12-10 Ben Elliston <[email protected]>
* lib/utils.exp (grep): Use a proper Tcl list for options.
2018-12-10 Ben Elliston <[email protected]>
* testsuite/runtest.all/utils.test: ${srcdir} -> $srcdir.
* lib/utils.exp (getdirs): Use glob -nocomplain rather than glob
and catching the "no files matched glob pattern" error
message. Catching the error message was the wrong thing to do
because the foreach loop then iterates over each word in the error
message as if they were matches.
2018-12-10 Ben Elliston <[email protected]>
* testsuite/runtest.all/utils.test (getdirs): Add a test for the
non-existent directory case.
2018-12-10 Ben Elliston <[email protected]>
* runtest.exp: Remove unnecessary quotes and braces around
variable expansions.
* lib/debugger.exp (dumpvars): Remove unnecessary braces.
2018-12-09 Ben Elliston <[email protected]>
* runtest.exp (setup_target_hook): Use 'ne' and not '!='.
(iterate_target_variants_two): Likewise.
* lib/remote.exp (standard_download): Use 'eq' not '=='.
(remote_upload): Likewise.
* lib/framework.exp (open_logs): Likewise.
(is_remote): Likewise.
2018-12-09 Ben Elliston <[email protected]>
* baseboards/basic-sid.exp, baseboards/basic-sim.exp,
baseboards/i386-sid.exp, baseboards/mt-sid.exp,
baseboards/sh-sid.exp, config/adb.exp, config/gdb-comm.exp,
config/gdb_stub.exp, config/sim.exp, config/unix.exp,
config/vxworks.exp, lib/dejagnu.exp, lib/dg.exp,
lib/framework.exp, lib/kermit.exp, lib/libgloss.exp,
lib/remote.exp, lib/rsh.exp, lib/target.exp, lib/tip.exp,
lib/utils.exp, testsuite/lib/libsup.exp,
testsuite/runtest.all/options.exp,: Remove unnecessary braces
around variable expansions.
2018-12-09 Ben Elliston <[email protected]>
* lib/debugger.exp, lib/dg.exp, lib/framework.exp, lib/ftp.exp,
lib/kermit.exp, lib/libgloss.exp, lib/remote.exp, lib/rlogin.exp,
lib/target.exp, lib/tip.exp, lib/utils.exp, runtest.exp: Remove
unnecessary quotes and braces around variable expansions.
2018-12-09 Ben Elliston <[email protected]>
* config/gdb-comm.exp: Remove unnecessary quotes.
* config/gdb_stub.exp: Likewise.
* config/vxworks.exp: Likewise.
* config/unix.exp: Likewise.
* config/sim.exp: Likewise.
2018-12-09 Ben Elliston <[email protected]>
* testsuite/lib/libsup.exp: Remove unnecessary quotes around
variable expansions.
* testsuite/lib/util-defs.exp: Likewise.
2018-12-09 Ben Elliston <[email protected]>
* baseboards/androideabi.exp: Remove unnecessary quotes and braces
around variable expansions.
* baseboards/basic-sid.exp: Likewise.
* baseboards/cris-sim.exp: Likewise.
* baseboards/generic-sim.exp: Likewise.
* baseboards/mcore-moto-sim.exp: Likewise.
* baseboards/multi-sim.exp: Likewise.
2018-12-08 Ben Elliston <[email protected]>
* NEWS: Tweak.
2018-12-08 Ben Elliston <[email protected]>
* lib/dejagnu.exp (host_execute): Remove unnecessary quotes around
variable expansions.
* testsuite/runtest.all/clone_output.test: Likewise.
* testsuite/runtest.all/target.test: Likewise.
* testsuite/runtest.all/stats.exp: Likewise.
* testsuite/runtest.all/remote.test: Likewise.
* testsuite/runtest.all/config.test: Likewise.
* testsuite/runtest.all/default_procs.tcl: Likewise.
* testsuite/runtest.all/libs.exp: Likewise.
* testsuite/runtest.all/options.exp: Likewise.
2018-12-08 Jacob Bachmeyer <[email protected]>
* NEWS: Document 'testsuite' command.
* doc/dejagnu.texi (testsuite procedure): Document multiplex entry
point and "testsuite file" command.
* lib/framework.exp (testsuite): New proc for multiplex commands.
(testsuite_file): New proc implementing "testsuite file".
* testsuite/runtest.all/testsuite_file.test: New file.
* runtest.exp: Expect to find testsuite in ${srcdir}/testsuite,
but also search $srcdir itself.
(load_lib): Add explicit search for testsuite-local libraries.
(load_tool_init): Use $testsuitedir in search.
(load_config): Use $testsuitedir instead of $srcdir.
(load_tool_target_config): Likewise.
Add variable "testsuitedir" for testsuite root directory.
Add internal global variables "testbuilddir" and "testdir" for use
by "testsuite file".
Ensure that $testsuitedir, $testbuilddir, and $objdir also avoid
duplicated path delimiters.
Add warning if no tests are found and fallback method of searching
$srcdir is used.
2018-12-08 Ben Elliston <[email protected]>
* testsuite/lib/libsup.exp (start_expect): Brace commands in if
expressions.
* testsuite/lib/util-defs.exp (util_test): Likewise.
* testsuite/runtest.all/stats.exp: Likewise.
* testsuite/runtest.all/libs.exp: Likewise.
2018-12-08 Jacob Bachmeyer <[email protected]>
* testsuite/runtest.all/default_procs.tcl:
(lib_errpat_test, lib_errregexp_test, lib_err_test): New.
(lib_regexp_test): Fix copy-paste-edit error.
(lib_pat_test, lib_regexp_test, lib_ret_test, lib_bool_test):
Fix handling of errors raised by tested procedure. Also ensure
proper quoting of argument lists passed to eval and simplify
the logic for producing return values.
2018-12-08 Ben Elliston <[email protected]>
* config/vxworks.exp (${board}_init): Use 'ne' instead of !=.
2018-12-08 Ben Elliston <[email protected]>
* lib/tip.exp (tip_open): Put braces around if expression.
2018-12-08 Ben Elliston <[email protected]>
* runtest.exp, lib/utils.exp, lib/targetdb.exp, lib/target.exp,
lib/remote.exp, lib/framework.exp, lib/dg.exp, config/vxworks.exp,
config/sim.exp, config/gdb_stub.exp, config/aarch64-fv8.exp,
baseboards/vr4300-sim.exp, baseboards/vr4111-sim.exp,
baseboards/vr4100-sim.exp, baseboards/sh-sid.exp,
baseboards/mt-sid.exp, baseboards/mips-sim.exp,
baseboards/mips-sim-idt64.exp, baseboards/mips-sim-idt32.exp,
baseboards/i386-sid.exp, baseboards/arm-sim.exp,
baseboards/arm-ice.exp, baseboards/androideabi.exp,
testsuite/runtest.all/utils.test,
testsuite/runtest.all/target.test: Replace string literal
comparisons using == and != with 'eq' and 'ne'.
2018-12-08 Ben Elliston <[email protected]>
* runtest.exp, lib/utils.exp, lib/target.exp, lib/ssh.exp,
lib/rsh.exp, lib/rlogin.exp, lib/remote.exp, lib/libgloss.exp,
lib/framework.exp, lib/dg.exp, lib/dejagnu.exp,
config/vxworks.exp, config/unix.exp, config/sim.exp,
config/gdb_stub.exp, config/gdb-comm.exp, config/adb.exp,
baseboards/multi-sim.exp, baseboards/cris-sim.exp,
baseboards/basic-sim.exp, baseboards/basic-sid.exp,
baseboards/androideabi.exp, testsuite/runtest.all/load_lib.exp,
testsuite/libdejagnu/tunit.exp: Replace empty string comparisons
using == and != with 'eq' and 'ne'.
2018-12-07 Jacob Bachmeyer <[email protected]>
* testsuite/runtest.all/default_procs.tcl (lib_bool_test): New.
(lib_regexp_test): New.
(lib_pat_test): Brace "if" conditions.
(lib_pat_test): Remove spurious quotes in debugging output.
(run_tests): Add support for comments in lists of procedure tests.
* testsuite/runtest.all/config.test: Adjust to use run_tests
procedure. Fixes issue cited in FIXME comment.
* testsuite/runtest.all/utils.test (getdirs tests): Fix these.
The old tests had the sense of the return value from lib_pat_test
inverted and were failing but reported PASS.
(find tests, relative_filename tests, runtest_file_p tests):
Adjust to use run_tests procedure.
2018-12-07 Ben Elliston <[email protected]>
* doc/dejagnu.texi: Add more missing material.
2018-12-07 Jacob Bachmeyer <[email protected]>
* testsuite/runtest.all/default_procs.tcl (lib_ret_test): Tidy.
(run_tests): Replace implicit "eval" with explicit "eval". Tidy.
(verbose): Remove unnecessary quotes.
2018-12-06 Ben Elliston <[email protected]>
* doc/dejagnu.texi: Add more missing material.
2018-12-06 Jacob Bachmeyer <[email protected]>
* testsuite/runtest.all/default_procs.tcl: Whitespace clean up.
(lib_pat_test): Handle an argument list instead of only a single
argument for the procedure under test.
(lib_ret_test): Likewise.
* testsuite/runtest.all/utils.test: Whitespace clean up.
Adjust to pass argument lists for improved lib_pat_test.
* testsuite/runtest.all/clone_output.test: Likewise.
2018-12-06 Jacob Bachmeyer <[email protected]>
* lib/remote.exp (standard_load): Fix typo on empty string.
* runtest.exp: Adjust expression to follow GNU conventions.
* lib/utils.exp (diff): Fix mistake in replacing [string compare]
with "eq" instead of "ne".
* testsuite/runtest.all/config.test: Likewise.
2018-12-06 Ben Elliston <[email protected]>
* runtest.exp: Replace [string match] commands involving literal
strings and variables known to not be Tcl glob patterns with eq
and ne.
* config/unix.exp: Likewise.
* lib/debugger.exp: Likewise.
* lib/dg.exp: Likewise.
* lib/framework.exp: Likewise.
* lib/remote.exp: Likewise.
* lib/utils.exp: Likewise.
* baseboards/androideabi.exp: Likewise.
* baseboards/multi-sim.exp: Likewise.
* testsuite/lib/util-defs.exp: Likewise.
* testsuite/runtest.all/config.test: Likewise.
2018-12-06 Jacob Bachmeyer <[email protected]>
* testsuite/runtest.all/utils.test: Add Tcl mode marker for Emacs.
* testsuite/runtest.all/target.test: Likewise.
* testsuite/runtest.all/remote.test: Likewise.
* testsuite/runtest.all/config.test: Likewise.
* testsuite/runtest.all/clone_output.test: Likewise.
2018-12-06 Ben Elliston <[email protected]>
* runtest.exp: Replace '==' with 'eq' for string compares.
Likewise, replace '!=' with 'ne'. Replace a few instances of
[string length $str] == 0 with $str eq "".
* config/gdb-comm.exp: Likewise.
* lib/dg.exp: Likewise.
* lib/framework.exp: Likewise.
* lib/libgloss.exp: Likewise.
* lib/remote.exp: Likewise.
* lib/target.exp: Likewise.
* lib/utils.exp: Likewise.
2018-12-06 Jacob Bachmeyer <[email protected]>
* runtest.exp: Replace archaic use of [string match] with "eq".
2018-12-06 Ben Elliston <[email protected]>
* doc/dejagnu.texi (compile Procedure): Remove old node.
(archive Procedure): Likewise.
(ranlib Procedure): Likewise.
2018-12-06 Ben Elliston <[email protected]>
* doc/dejagnu.texi (rsh procedure): Fix node connectivity.
2018-12-06 Ben Elliston <[email protected]>
* lib/telnet.exp (telnet_open): Remove connectmode global.
* doc/dejagnu.texi (Procedures For Remote Communication): Remove
mention of connectmode.
2018-12-05 Ben Elliston <[email protected]>
* doc/dejagnu.texi (execute_anywhere Procedure): Remove obsolete
node.
2018-12-05 Ben Elliston <[email protected]>
* doc/dejagnu.texi: Add more missing material.
2018-12-05 Ben Elliston <[email protected]>
* testsuite/runtest.all/utils.test: Test runtest_file_p.
2018-12-05 Jacob Bachmeyer <[email protected]>
* runtest.exp (load_config): Remove unused globals.
(load_generic_config): Likewise.
(load_board_description): Likewise.
(load_base_board_description): Likewise.
2018-12-05 Ben Elliston <[email protected]>
* lib/utils.exp (grep): Handle -n.
* doc/dejagnu.texi (grep procedure): Document it.
* testsuite/runtest.all/utils.test: Add a test case.
* NEWS: Add an item.
2018-12-05 Ben Elliston <[email protected]>
* testsuite/runtest.all/utils.test: Test diff.
2018-12-04 Ben Elliston <[email protected]>
* testsuite/runtest.all/utils.test: Test grep.
2018-12-04 Ben Elliston <[email protected]>
* testsuite/runtest.all/utils.test (which): Fail on the else path,
don't pass in either case.
2018-12-04 Ben Elliston <[email protected]>
* doc/dejagnu.texi (Libgloss): Improve documentation.
(Debugging Procedures): Likewise.
2018-12-04 Ben Elliston <[email protected]>
* lib/debugger.exp (dumprocs): Fix proc comment.
2018-12-04 Ben Elliston <[email protected]>
* doc/dejagnu.texi (Utility Procedures): Improve documentation for
the procedures in this section.
2018-12-04 Jacob Bachmeyer <[email protected]>
* NEWS: Document new relative_filename procedure and --local_init/
--global_init command line options.
2018-12-04 Jacob Bachmeyer <[email protected]>
* lib/utils.exp (relative_filename): New proc.
* runtest.exp: Use it.
* doc/dejagnu.texi (relative_filename procedure): Document it.
* testsuite/runtest.all/utils.test: Add tests for relative_filename.
2018-12-03 Ben Elliston <[email protected]>
* dejagnu.h (TestState): Remove const char * variants of pass(),
xpass(), fail(), xfail(), untested(), unresolved() for C++. A
const char * will be implicitly converted to std::string.
2018-12-03 Ben Elliston <[email protected]>
* doc/dejagnu.texi: Move 'Built-in Procedures' node up a level,
removing the 'Reference' node and chapter. Make all subsubsections
in this chapter unnumbered subheadings.
2018-12-03 Jacob Bachmeyer <[email protected]>
* doc/dejagnu.texi: Fix Info node links. The arguments to @node
are: here, next, previous, up; not here, previous, next, up.
2018-12-03 Ben Elliston <[email protected]>
* Makefile.am (EXTRA_DIST): Use $(TEXINFO_TEX), not a hardcoded
doc/texinfo.tex. With thanks to Jacob Bachmeyer.
* Makefile.in: Regenerate.
2018-12-03 Ben Elliston <[email protected]>
* Makefile.am (TEXINFO_TEX): Set to doc/texinfo.tex.
(EXTRA_DIST): Add doc/texinfo.tex. Setting TEXINFO_TEX otherwise
prevents the distribution of the overridden texinfo.tex.
* Makefile.in: Regenerate.
* texinfo.tex: Move from here ..
* doc/texinfo.tex: .. to here.
2018-12-03 Ben Elliston <[email protected]>
* lib/framework.exp (isremote): Add verbose message.
2018-12-02 Ben Elliston <[email protected]>
* lib/framework.exp (isremote): Pass $board to is_remote.
2018-12-02 Ben Elliston <[email protected]>
* doc/fdl.texi: New.
* doc/dejagnu.texi (Variable Index): New.
Add more concept index entries.
(GNU Free Documentation License): New appendix.
2018-12-02 Ben Elliston <[email protected]>
* doc/dejagnu.texi (Procedure Index): New. Add Texinfo function
index (@findex) entries for every built-in procedure.
2018-12-02 Ben Elliston <[email protected]>
* doc/dejagnu.texi: Start an index.
2018-12-02 Ben Elliston <[email protected]>
* doc/version.texi: New.
2018-12-02 Ben Elliston <[email protected]>
* doc/dejagnu.texi: Add title page and frontmatter. Include
version.texi.
* Makefile.in: Regenerate.
* mdate-sh: Installed by automake --add-missing.
2018-12-02 Ben Elliston <[email protected]>
* doc/dejagnu.texi (diff procedure): Tidy up this node.
2018-12-02 Jacob Bachmeyer <[email protected]>
* runtest.exp (hex): Remove useless test before setting.
(decimal): Likewise.
2018-12-02 Jacob Bachmeyer <[email protected]>
* doc/dejagnu.texi (Invoking runtest): Document new --local_init
and --global_init command line options.
* doc/runtest.1: Likewise.
* runtest.exp: Remove useless tests before setting default values
for variables: all_flag, binpath, debug, options, outdir, reboot,
tracelevel, verbose, log_dialog. They are set before loading any
files or parsing the command line.
* runtest.exp: Add options --local_init and --global_init for
selecting alternate testsuite configuration files.
* runtest.exp: Split variable "configfile" into "local_init_file"
and "global_init_file" in preparation for adding command-line
options to specify these independently.
* runtest.exp (load_generic_config): Remove configfile global.
(load_board_description): Likewise.
(load_base_board_description): Likewise.
2018-11-30 Ben Elliston <[email protected]>
* lib/utils.exp (grep): Remove reference to "NULL" in comment.
* testsuite/lib/util-defs.exp (util_start): Likewise.
2018-11-30 Ben Elliston <[email protected]>
* doc/dejagnu.texi: (verbose procedure): Improve documentation.
(load_lib procedure): Likewise.
2018-11-30 Ben Elliston <[email protected]>
* doc/dejagnu.texi: More clean-ups of built-in proc documentation.
2018-11-30 Ben Elliston <[email protected]>
* runtest.exp: Use isremote.
* lib/target.exp: Likewise.
* lib/remote.exp: Likewise.
* lib/libgloss.exp: Likewise.
* config/unix.exp: Likewise.
* config/sim.exp: Likewise.
* config/gdb_stub.exp: Likewise.
* config/gdb-comm.exp: Likewise.
* baseboards/basic-sim.exp: Likewise.
* baseboards/androideabi.exp: Likewise.
2018-11-30 Ben Elliston <[email protected]>
* lib/framework.exp (isremote): New.
* doc/dejagnu.texi (isremote procedure): Document it.
* NEWS: Mention isremote.
2018-11-30 Ben Elliston <[email protected]>
* texinfo.tex: Update to latest upstream version.
* INSTALL: Likewise.
2018-11-29 Ben Elliston <[email protected]>
* lib/framework.exp (istarget, ishost, istarget): Set the argument
default value to the empty string.
* doc/dejagnu.texi (find procedure): Remove reference to "NULL".
(getenv procedure): Re-word this node.
(isbuild procedure): Update.
(ishost procedure): Likewise.
(istarget procedure): Likewise.
* testsuite/runtest.all/config.test: Add test cases.
2018-11-28 Ben Elliston <[email protected]>
* config.guess: Update to latest version.
* config.sub: Likewise.
2018-11-28 Ben Elliston <[email protected]>
* NEWS: Update.
* configure.ac: Update version number.
* configure: Regenerate.
* doc/dejagnu.texi: Update version number.
* runtest.exp: Update version number.
2018-11-28 Ben Elliston <[email protected]>
* Makefile.am (TESTSUITE_FILES): Update filenames.
* Makefile.in: Regenerate.
2018-11-28 Ben Elliston <[email protected]>
* NEWS: Update.
* doc/dejagnu.texi: Tidy up (fill) some paragraphs.
2018-11-25 Jacob Bachmeyer <[email protected]>
* lib/framework.exp: Clean up whitespace.
2018-11-25 Ben Elliston <[email protected]>
* config/gdb-comm.exp: Clean up whitespace.
* config/gdb_stub.exp: Likewise.
* config/sid.exp: Likewise.
* config/sim.exp: Likewise.
* config/unix.exp: Likewise.
2018-11-23 Ben Elliston <[email protected]>
* doc/dejagnu.texi (getdirs procedure): Improve documentation
including documenting the -all option.
(find procedure): Fix a typo.
* lib/utils.exp (getdirs): Improve comments.
2018-11-22 Jacob Bachmeyer <[email protected]>
* runtest.exp: Ensure that multipass pass variables are always
restored. Previously, they were only restored if the "Go digging
for tests" branch was taken near the end of runtest.exp.
2018-11-22 Ben Elliston <[email protected]>
* doc/dejagnu.texi (Customizing DejaGnu): Document error handling
of the $DEJAGNU environment variable (see change below).
2018-11-22 Jacob Bachmeyer <[email protected]>
* runtest.exp: Raise error if $DEJAGNU is defined but not found.
2018-11-15 Jacob Bachmeyer <[email protected]>
* runtest.exp (load_tool_init): Search for tool init file instead
of assuming exactly one location.
2018-11-15 Ben Elliston <[email protected]>
* runtest.exp (load_lib): Whitespace fix.
2018-11-11 Jacob Bachmeyer <[email protected]>
* lib/ssh.exp: Clean up whitespace.
* lib/remote.exp: Clean up whitespace.
(remote_expect): Change literal tab to "\t" in regexp.
2018-11-05 Ben Elliston <[email protected]>
* config.guess: Update to latest version.
* config.sub: Likewise.
2018-11-02 Ben Elliston <[email protected]>
* Makefile.in: Regenerate.
2018-10-31 Jacob Bachmeyer <[email protected]>
* Makefile.am (DEJATOOL): List tools in testsuite.
(RUNTESTDEFAULTFLAGS): Adjust to support per-tool testing.
* testsuite/config/default.exp: Rename from this ...
* testsuite/lib/runtest.exp: ... to this.
(runtest_exit): Remove spurious "close". This was causing per-tool
testing to fail, since the testsuite for "runtest" never actually
uses "spawn", so "close" ends up closing exp0, which is the
terminal. The ${tool}_exit proc is not called if the --tool
option is not given, so this had no effect earlier.
* testsuite/lib/libdejagnu.exp: New empty file.
2018-10-31 Jacob Bachmeyer <[email protected]>
* runtest.exp (load_tool_init): Add message indicating the
expected location of the tool init file.
2018-10-31 Jacob Bachmeyer <[email protected]>
* contrib/sum2junit.sh (failures): Fix typo.
2018-10-31 Jacob Bachmeyer <[email protected]>
* configure.ac (DEJAGNU): Add comments.
2018-10-31 Jacob Bachmeyer <[email protected]>
* Makefile.am (DEJATOOL): List tools in testsuite.
(RUNTESTDEFAULTFLAGS): Adjust to support per-tool testing.
* testsuite/config/default.exp: Rename from this ...
* testsuite/lib/runtest.exp: ... to this.
(runtest_exit): Remove spurious "close". This was causing
per-tool testing to fail, since the testsuite for "runtest" never
actually uses "spawn", so "close" ends up closing exp0, which is
the terminal. The ${tool}_exit proc is not called if the --tool
option is not given, so this had no effect earlier.
* testsuite/lib/libdejagnu.exp: New empty file.
2018-10-30 Ben Elliston <[email protected]>
* Makefile.am (DISTCLEANFILES): Add testrun.xml.
* Makefile.in: Regenerate with Automake 1.15.1.
* aclocal.m4: Likewise.
2018-10-30 Ben Elliston <[email protected]>
* configure.ac (AC_CONFIG_SUBDIRS): Remove.
* configure: Regenerate.
2018-10-29 Ben Elliston <[email protected]>
* README (Documentation): Update.
2018-10-28 Jacob Bachmeyer <[email protected]>
* lib/framework.exp (record_test): Really fix message formatting.