forked from SourceryTools/qmtest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog
11143 lines (9525 loc) · 413 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
2011-03-10 Stefan Seefeld <[email protected]>
* qm/test/parameter_database.py: Various fixes.
2011-02-06 Stefan Seefeld <[email protected]>
* qm/test/classes/compilation_test.py: Record output from ExecutableTest.
2011-02-06 Stefan Seefeld <[email protected]>
* qm/test/classes/ssh_host.py: Fix passing of environment (quoting).
2011-01-31 Stefan Seefeld <[email protected]>
* qm/test/classes/compiler_test.py: Fix handling of _compiler_dirs.
2009-05-15 Stefan Seefeld <[email protected]>
* qm/common.py: Add Timeout exception.
* qm/test/result.py: Define TIMEOUT_DETAIL.
* qm/test/target.py: Handle both.
* qm/executable.py: Report timeouts.
* share/qmtest/xml/report.xslt: Set cell titles for result matrix.
2009-04-27 Stefan Seefeld <[email protected]>
* share/qmtest/xml/report.xslt: Fix results calculation.
2009-04-25 Stefan Seefeld <[email protected]>
* share/qmtest/xml/report.xslt: Refine HTML report generation.
* share/qmtest/xml/report.css: New file.
2009-04-24 Stefan Seefeld <[email protected]>
* qm/test/report.py: Log qualified id as 'qid'.
2009-04-23 Stefan Seefeld <[email protected]>
* qm/test/classes/compiler_test.py: Add support for CompilerTest.cleanup_executable.
* qm/test/report.py: Fix subdirectory-handling bug.
2008-12-16 Stefan Seefeld <[email protected]>
* setup.py: Bump version number to 2.4.1.
* qmtest.spec: New rpm spec-file.
* NEWS: Mention 2.4.1 release.
* README: Clarify license version.
2008-12-10 Stefan Seefeld <[email protected]>
* setup.py: Install LICENSE.OPL so it can be found by users.
* MAKEFILE.in: Likewise.
* doc/qmtest.ent: bump version number to 2.4.1
* qmdist/command/check.py: Fix Python 3k incompatibility.
* qmdist/command/build_scripts.py: Likewise.
* qm/test/cmdline.py: Likewise.
* qm/web.py: Likewise.
* qm/platform_unix.py: Likewise.
2008-11-16 Stefan Seefeld <[email protected]>
* LICENSE.OPL: New file.
* doc/qm.mod: Fix OPL license reference.
* doc/tutorial.xml: Likewise.
* doc/cli_reference.xml: Likewise.
* doc/concepts.xml: Likewise.
* doc/customizing.xml: Likewise.
* doc/extending.xml: Likewise.
* templates/docbook-chapter: Likewise.
* templates/docbook: Likewise.
* doc/design/qmtest/core.xml: Likewise.
* doc/design/qmtest/iface.xml: Likewise.
* doc/design/qmtest/impl.xml: Likewise.
* doc/design/qmtest/qmtest.xml: Likewise.
* doc/design/qmtest/refs.xml: Likewise.
* doc/design/qmtest/req.xml: Likewise.
* share/qmtest/dtml/add-enumeral.dtml: Likewise.
* share/qmtest/dtml/attachment.dtml: Likewise.
* share/qmtest/dtml/error.dtml: Likewise.
* share/qmtest/dtml/exception.dtml: Likewise.
* share/qmtest/dtml/field.dtml: Likewise.
* share/qmtest/dtml/help.dtml: Likewise.
* share/qmtest/dtml/login_form.dtml: Likewise.
* share/qmtest/dtml/problems.dtml: Likewise.
* share/qmtest/dtml/set.dtml: Likewise.
* share/qmtest/dtml/user.dtml: Likewise.
2008-11-13 Stefan Seefeld <[email protected]>
* qm/external/DocumentTemplate/*: Partially upgrade to Zope 2.11.
2008-10-21 Stefan Seefeld <[email protected]>
* qm/structured_text.py: Remove python script header.
* qm/test/cmdline.py: Report help and version to stdout.
2008-04-09 Stefan Seefeld <[email protected]>
* qmdist/command/install_lib.py: Remove incorrect use of --root.
2007-09-26 Stefan Seefeld <[email protected]>
* NEWS: Document new features in version 2.4.
* doc/qmtest.ent: Set version number to 2.4.
* qm/config.py: Don't hard-code version number.
* qmdist/command/build_py.py: ...but compute it at build time.
* qmdist/command/install_lib.py: Likewise.
* setup.py: Cleanup.
* share/qmtest/examples: Move to...
* share/doc/qmtest/examples: ...here.
2007-09-25 Stefan Seefeld <[email protected]>
* MANIFEST.in: Remove obsolete entries.
* qm/test/classes/xml_expectation_database.py: Refine.
* share/qmtest/examples/tdb: Rename to...
* share/qmtest/examples/xml_tdb: ...this.
* share/qmtest/examples/compilation_tdb: Add new example test database.
* qm/test/classes/previous_testrun.py: Add file_name parameter.
* doc/concepts.xml: Document expectation databases.
* doc/customizing.xml: Likewise.
* qm/test/classes/compiler.py: Add 'ldflags' parameters.
* qm/test/classes/compiler_test.py: Add 'compiler' and 'ldflags'
parameters to CompilationStep.
* qm/test/classes/compilation_test.py: Adjust.
* qm/test/classes/compilation_test_database.py: Adjust.
* doc/customizing.xml: Adjust.
2007-09-24 Stefan Seefeld <[email protected]>
* share/qmtest/tutorial: Rename to...
* share/qmtest/examples: ...this.
2007-09-20 Stefan Seefeld <[email protected]>
* qm/test/classes/mount_database.py: Add 'mounts' parameter,
fix GetIds() method.
* tests/QMTest/configuration: Update MountDatabase configuration.
* qm/test/expectation_database.py: Define new extension type.
* qm/test/classes/previous_testrun.py: New extension.
* qm/test/classes/xml_expectation_database.py: New extension.
* qm/test/classes/classes.qmc: Register them.
* qm/test/cmdline.py: Support ExpectationDatabase
* qm/test/base.py: Likewise.
* qm/test/execution_engine.py: Adjust.
* qm/test/web/web.py: Adjust.
* share/qmtest/dtml/test/dir.dtml: Only make expectations editable
if they really are
* share/qmtest/dtml/test/results.dtml: Likewise.
* qm/fields.py: Various fixes to DictionaryField and SetField.
* qm/web.py: Insert correct module search path for local
DocumentTemplate package.
2007-09-19 Stefan Seefeld <[email protected]>
* qm/test/classes/mount_database.py: Add support for 'mounts' parameter,
fix GetIds() method.
* tests/QMTest/configuration: Adjust.
* qm/fields.py: Fix various issues with DictionaryField and SetField.
2007-08-17 Stefan Seefeld <[email protected]>
* qm/test/classes/python.py: Expect new-style exceptions (python 2.5).
2007-07-03 Stefan Seefeld <[email protected]>
* qm/test/classes/compilation_test_database.py: New test database class.
* qm/test/classes/classes.qmc: Register it.
2007-02-09 Stefan Seefeld <[email protected]>
* qm/external/DocumentTemplate/*: partially merge in bits from Zope 2.10.1
to replace all uses of the obsolete 'regex' module by 're'.
* qm/web.py: Adjust module search path to make 'import DocumentTemplate' work.
2007-01-25 Stefan Seefeld <[email protected]>
* qmdist/command/__init__.py: Explicitely close the modified file.
* qmdist/command/install_lib.py: Force recompilation.
2006-12-12 Mark Mitchell <[email protected]>
* qm/test/classes/dejagnu_stream.py
(DejaGNUReader.__UpdateResult): Treat DejaGNU UNTESTED results as
QMTEST UNTESTED results when generating outcomes from a DejaGNU log
file.
2006-11-29 Stefan Seefeld <[email protected]>
* qm/test/target.py: Only delete the 'qmtest.id' context variable if it
really exists.
2006-11-23 Stefan Seefeld <[email protected]>
* qmdist/command/install_lib.py: Force recompilation of generated
config.py file.
2006-11-08 Stefan Seefeld <[email protected]>
* qm/host.py: Adjust constructor to expect keyword arguments.
2006-11-03 Stefan Seefeld <[email protected]>
* qm/config.py: Provide initial values for config parameters.
* qm/__init__.py: Use it.
* qm/__version.py: Removed (since now obsolete).
* qmdist/command/__init__.py: Add reset_config_variables.
* scripts/qmtest-postinstall.py: Use it.
* qmdist/command/install_lib.py: Use it.
* qmdist/command/install_data.py: Removed (since now obsolete).
* qmdist/command/build_py.py: New command; adjusts qm.prefix so it
is usable in the build tree.
* qmdist/command/build_doc.py: Modularize.
* qmdist/command/check.py: Set PYTHONPATH so the right code gets tested.
* qmdist/command/__init__.py: Adjust to always use qm.config.
* setup.py: Adjust.
* qm/test/result_reader.py: Fix fallout from last patch.
* tests/xmldb/api.qms/test.qms/fields.qmt: Likewise.
2006-11-02 Stefan Seefeld <[email protected]>
* qm/extension.py: Enhance handling of parameters and constructor arguments.
* qm/test/database.py: Likewise.
* qm/test/file_database.py: Likewise.
* qm/test/file_result_reader.py: Likewise.
* qm/test/file_result_stream.py: Likewise.
* qm/test/result_stream.py: Likewise.
* qm/test/runnable.py: Likewise.
* qm/test/suite.py: Likewise.
* qm/test/target.py: Likewise.
* qm/test/classes/dejagnu_stream.py: Likewise.
* qm/test/classes/pickle_result_stream.py: Likewise.
* qm/test/classes/rsh_target.py: Likewise.
* qm/test/classes/sql_result_stream.py: Likewise.
* qm/test/classes/tet_stream.py: Likewise.
* qm/test/classes/text_result_stream.py: Likewise.
* qm/test/classes/xml_result_stream.py: Likewise.
2006-10-31 Stefan Seefeld <[email protected]>
* qm/test/share/*: Merged into...
* share/qmtest: ...here.
* share/*: Likewise.
* setup.py: Simplify.
* qmdist/command/install_data.py: Adjust data_path ('qm' -> 'qmtest').
* qm/__init__.py: Simplify.
* qm/common.py: Remove obsolete 'is_installed' variable.
* qm/diagnostic.py: Likewise.
* qm/test/web/web.py: Adjust menu to contain 'Tutorial' in new location.
2006-10-31 Stefan Seefeld <[email protected]>
* qmdist/command/install_data.py: Set 'prefix' variable.
* scripts/qmtest-postinstall.py: Adjust it to actual installation.
* qmdist/command/bdist_wininst.py: Use postinstall script.
* qmdist/command/install_script.py: Removed (obsoleted).
* share/logo.bmp: Some eye-candy for windows installer.
* qm/test/qmtest: Move to...
* scripts/qmtest: ...here; removed obsolete logic to determine paths.
* setup.py: Incorporate all the above changes.
* MANIFEST.in: Reflect new script location.
* qm/__init__.py: Use correct variables unconditionally.
* qmdist/command/build_doc.py: Fix to at least build html even if no
fo processor is found.
2006-10-25 Stefan Seefeld <[email protected]>
* qm/test/classes/command_host.py: New host extension.
* qm/test/classes/classes.qmc: Register it.
2006-09-29 Stefan Seefeld <[email protected]>
* qm/test/classes/compiler_test.py: Fix quoting of command annotation.
* qm/fields.py: Add DictionaryField.
* qm/test/context.py: Add GetDerivedValue and as_string_list functions.
* qm/test/database.py: Prevent redundant instantiation of extension
classes.
2006-09-05 Mark Mitchell <[email protected]>
* qm/executable.py (Executable.Spawn): Search PATH on Windows if
appropriate.
2006-09-03 Mark Mitchell <[email protected]>
* qm/host.py (Host.UploadAndRun): Correct logic for deleting files.
2006-08-18 Stefan Seefeld <[email protected]>
Reorganize and enhance Tutorial:
* qm/doc/tutorial.xml: New file.
* qm/doc/qmtest.ent: Likewise.
* qm/doc/introduction.xml: Likewise.
* qm/doc/cli_reference.xml: Likewise.
* qm/doc/concepts.xml: Likewise.
* qm/doc/cs.css: Likewise.
* qm/doc/html.xsl: Likewise.
* qm/doc/qm-opl.xml: XML-ified.
* qm/doc/manual/common-manual.xml: Removed.
* qmdist/command/build_doc.py: Adjust build procedure for html generation.
2006-08-17 Mark Mitchell <[email protected]>
* qm/host.py (Host.Run): Add 'relative' parameter.
(Host.UploadAndRun): Use it.
* qm/test/classes/ssh_host.py (SSHHost.Run): Add 'relative'
parameter.
* qm/test/cmdline.py (QMTest.__ExecuteSummarize): Display resource
results too.
* qm/test/doc/reference.xml: Document.
2006-07-17 Stefan Seefeld <[email protected]>
* qm/test/cmdline.py: Allow 'qmtest create' to create explicit suites,
and make their content visible through 'qmtest ls'.
2006-06-21 Stefan Seefeld <[email protected]>
* qm/test/report.py: Add support for '-' special output file.
2006-06-09 Stefan Seefeld <[email protected]>
* qm/host.py: Fix signature of Host.Run(), and implement it
(using local_host.LocalHost.Run() code).
* qm/test/classes/local_host.py: Remove now obsolete Run() method.
* qm/test/classes/ssh_host.py: Derive from Host, not LocalHost.
2006-06-02 Stefan Seefeld <[email protected]>
* qm/extension.py: Raise AttributeError instead of AssertionError when
wrong attributes are passed.
* qm/common.py: Add parse_string_list function.
* qm/test/context.py: Add Context.GetStringList method.
* qm/test/classes/compiler.py: Add optional ldflags argument to
Compiler constructor.
* qm/test/classes/compiler_test.py: Fix _RemoveDirectory()
* qm/test/classes/compilation_test.py: Add ExecutableTest.
* qm/test/classes/classes.qmc: Adjust compilation_test name changes.
2006-03-07 Stefan Seefeld <[email protected]>
* qm/test/classes/compiler_table.py: Fix search for host
extension to include database-specific path.
2005-12-02 Stefan Seefeld <[email protected]>
* qm/__init__.py: Define new extension_path variable.
* qm/test/base.py: Use it to lookup QMTest extensions.
* qm/dist/__init__.py: Provide build infrastructure to install
qmtest extensions.
* qm/dist/distribution.py: Likewise.
* qm/dist/command/__init__.py: Likewise.
* qm/dist/command/build_extensions.py: Likewise.
* qm/dist/command/install_extensions.py: Likewise.
* setup.py: Install it.
* qmdist/command/install_data.py: Likewise.
2005-12-01 Mark Mitchell <[email protected]>
* qm/test/cmdline.py (QMTest.__ExecuteSummarize): Print resource
results for UNTESTED tests.
* qm/test/classes/compiler_table.py: Provide standard names for
the C and C++ programming languages.
2005-11-30 Mark Mitchell <[email protected]>
* qm/extension.py (get_extension_class_name): Use only the final
component of the module in forming the extension class name.
* qm/test/database.py (Database.GetIds): Handle generic
databases.
* qm/test/classes/compiler_test.py (CompilationStep): Provide
default values.
(CompilerBase._MakeDirectory): Do not create the temporary build
directory if it already exists.
(CompilerTest.Run): Create the temporary build directory. Record
the output from the compiler here.
(CompilerTest._GetExecutableArguments): New function.
(CompilerTest._MustExecutableExitSuccessfully): New function.
(CompilerTest._RunExecutable): Use new functions.
(CompilerTest._CheckOutput): Do not record the output here.
Adjust use of _DiagnosticsToString.
(CompilerTest._CheckExecutableOutput): New function.
(CompilerTest._DiagnosticsToString): Add annotation parameter.
* qm/test/classes/compiler.py (Compiler.ParseOutput): Do not try
to match an error message against multiple severities.
* qm/test/result.py (Result.CheckExitStatus): Fix typos.
* qm/host.py (Host.UploadAndRun): Delete the file after running
it.
* qm/test/classes/local_host.py (LocalHost.UploadAndRun): New
method.
* qm/test/classes/compiler_test.py (CompilerTest._RunExecutable):
Do not delete executables after running them.
2005-11-17 Mark Mitchell <[email protected]>
* qm/test/classes/dejagnu_stream.py
(DejaGNUStream.__summary_outcomes): Add KFAIL, KPASS.
(DejaGNUStream.__outcome_descs): Likewise.
(DejaGNUStream.__expected_outcomes): Likewise.
(DejaGNUReader.__UpdateResult): Likewise.
* qm/test/classes/dejagnu_test.py (DejaGNUTest.KFAIL): New
variable.
(DejaGNUTest.KPASS): Likewise.
(DejaGNUTest.outcome_map): Add KFAIL, KPASS.
2005-11-16 Stefan Seefeld <[email protected]>
* qm/test/classes/compiler_table.py: Tolerate whitespace in
context file.
* qm/test/classes/dejagnu_test.py: Use CompilerTable.target as host.
2005-11-04 Stefan Seefeld <[email protected]>
* qm/test/test_run.py: Add GetAnnotations() method.
* qm/test/reader_test_run.py: Implement it.
* qm/test/report.py: Rewrite report generation now supporting two formats.
* qm/test/cmdline.py: Add '--flat' option to the 'report' command.
* qm/test/doc/reference.xml: Document it.
* share/xml/report.xslt: Adjust html-report generation to new format.
2005-11-04 Mark Mitchell <[email protected]>
* qm/test/classes/dejagnu_stream.py (DejaGNUReader.__NextOutcome):
Ignore ERROR results.
(DejaGNUReader.__UpdateResult): Don't repeat causes. Don't use
causes at all for non-combined results.
2005-10-25 Stefan Seefeld <[email protected]>
* qm/test/result.py: Add refactored CheckExitStatus method.
* qm/test/classes/command.py: Use it.
* qm/test/classes/compiler_test.py: Prepare CompilerTest for reuse;
general cleanup.
* qm/test/classes/compilation_test.py: Add new SimpleCompilationTest
and SimpleCompiledResource extensions.
* qm/test/classes/classes.qmc: Register them.
2005-10-25 Mark Mitchell <[email protected]>
* qm/test/classes/dejagnu_stream.py (sets.Set): Don't import it.
(DejaGNUReader.__init__): Don't set test_ids.
2005-10-25 Stefan Seefeld <[email protected]>
* share/xml/report.xslt: Fix handling of multiple test runs.
2005-10-24 Mark Mitchell <[email protected]>
* qm/test/classes/dejagnu_stream.py
(DejaGNUStream.__UpdateResult): Fix typo.
* qm/test/classes/dejagnu_stream.py (cgi): Import it.
(re): Likewise.
(sets.Set): Likewise.
(DejaGNUReader): Add combined mode. Add expectations-generation
mode.
2005-10-23 Mark Mitchell <[email protected]>
* qm/test/base.py (load_outcomes): Adjust documentation.
(load_results): Permit file parameter to be an extension
descriptor.
* qm/test/cmdline.py (QMTest.commands_spec): Add --output
option to "qmtest summarize".
(QMTest.__ExecuteSummarize): Use self.results_file_name. Adjust
call to load_results. Pass result of --output option to
__GetResultStreams.
(QMTest.__ExecuteRun): Use self.results_file_name. Pass results
file name to __GetResultStreams.
(QMTest.__GetExpectedOutcomes): Adjust call to load_outcomes.
(QMTest.__FilterTestsToRun): Likewise.
(QMTest.__GetResultStreams): Add output_file parameter. Create a
file result stream appropriate.
* qm/test/report.py (ReportGenerator._CreateResultStreams): Adjust
call to load_results.
* qm/test/classes/dir_run_database.py (DirRunDatabase.__init__):
Likewise.
* qm/test/doc/manual.xml: Use DocBook 4.2. Provide a URL for the
DocBook DTD.
* qm/test/doc/reference.xml: Document -o option to summarize and
extended descriptor syntax for input file.
* qm/test/result_stream.py (qm.test.result.Result): Import it.
(ResultStream._GetExpectedOutcome): New method.
* qm/test/classes/text_result_stream.py
(TextResultStream.WriteResult): Use it.
(TextResultStream.DisplayResult): Treat Result.CAUSE annotation as
HTML.
* qm/test/result.py (Result.SetOutcome): Use SetCause.
(Result.SetCause): New method.
(Result.NoteException): Use SetCause.
2005-10-18 Stefan Seefeld <[email protected]>
* qm/test/cmdline.py: Fix handling of '.' pseudo-id.
* qm/test/web/web.py: Likewise.
2005-10-14 Stefan Seefeld <[email protected]>
* qm/test/cmdline.py: Add 'annotate' option to 'run' command, refine
'describe' option.
2005-09-14 Stefan Seefeld <[email protected]>
* qm/test/cmdline.py: Add 'describe' and enhance 'ls' commands.
* qm/test/doc/reference.xml: Document the above.
* qm/label.py: Fix documentation.
* qm/test/database.py: Fix typo.
* qm/test/classes/thread_target.py: Clarify trace messages.
* qm/test/share/dtml/dir.dtml: Fix typo.
* qm/test/share/dtml/navigation-bar.dtml: Enhance menu display.
* qm/test/share/dtml/show.dtml: Add missing logo.
* share/web/stylesheets/qm.css: Enhance menu display.
Add support for inspecting 'run databases':
* qm/test/run_database.py: New RunDatabase extension.
* qm/test/base.py: Register it.
* qm/test/dir_run_database.py: Implement it.
* qm/test/classes/classes.qmc: Register implementation.
* qm/test/test_run.py: Define TestRun base class.
* qm/test/reader_test_run.py: Implement it.
* qm/web.py: Allow WebRequest to inherit all fields from its base.
* qm/test/cmdline.py: Add -R option to the 'gui' command.
* qm/test/web/web.py: Add support for new report pages.
* qm/test/share/dtml/report/dir.dtml: New page template.
* qm/test/share/dtml/report/show.dtml: New page template.
* setup.py: Add new share/dtml/report directory.
2005-09-06 Stefan Seefeld <[email protected]>
* qm/test/classes/dejagnu_test.py: Fix typo.
* qm/test/classes/dg_test.py: Add new 'keep_output' field.
2005-09-02 Mark Mitchell <[email protected]>
* qm/test/resource_adapter.py: New file.
* qm/test/resource.py (resource_adapter): Remove.
2005-09-01 Mark Mitchell <[email protected]>
* qm/test/resource.py (resource_adapter): New function.
2005-08-23 Mark Mitchell <[email protected]>
* qm/test/base.py (FileResultReader): Import it.
(get_extension_classes): New function.
(load_results): Let FileResultReaders decided if they understand
the file format, rather than hard-coding the decision here.
* qm/test/cmdline.py (QMTest.GetDatabaseIfAvailable): New method.
Use it throughout, where appropriate.
(QMTest.__ExecuteSummarize): Permit execution without a database.
(QMTest.__GetResultStreams): Likewise.
* qm/test/file_result_reader.py (FileResultReader.InvalidFile):
New class.
* qm/test/result_stream.py (ResultStream.arguments): Remove unused
"database" argument.
* qm/test/classes/classes.qmc: Add dejagnu_stream.DejaGNUReader.
* qm/test/classes/dejagnu_test.py (DejaGNUTest.ERROR): Fix typo.
(DejaGNUTest.__outcome_map): Rename to ...
(DejaGNUTest.outcome_map): ... this. Fill in all entries.
(DejaGNUTest._RecordDejaGNUOutcome): Adjust.
* qm/test/classes/pickle_result_stream.py
(PickleResultReader.__init__): Raise InvalidFile if appropriate.
* qm/test/classes/xml_result_stream.py (XMLResultReader.__init__):
Likewise.
* qm/test/classes/dejagnu_stream.py (DejaGNUReader): New class.
2005-08-19 Stefan Seefeld <[email protected]>
* MANIFEST.in: Add missing files.
2005-07-22 Mark Mitchell <[email protected]>
* qm/test/cmdline.py (QMTest.list_long_option_spec): New variable.
(QMTest.list_recursive_option_spec): Likewise.
(QMTest.commands_spec): Add "ls".
(QMTest.Execute): Support "ls".
(QMTest.__ExecuteList): New method.
* qm/test/datbase.py (Database.GetExtensions): New method.
* qm/test/doc/reference.xml: Describe "qmtest ls".
2005-07-21 Stefan Seefeld <[email protected]>
* setup.py: Adjust contact info.
* qm/test/doc/manual.xml: Update copyright notice.
2005-07-21 Mark Mitchell <[email protected]>
* qm/test/classes/dg_test.py (DGTest._RunDGToolPortion): Fix
typo.
* qm/extension.py (Extension.GetClassName): New method.
(Extension.GetExplicitArguments): Likewise.
(Extension.MakeDomEelement): Use GetExplicitArguments.
(parse_descriptor): Add extension_loader.
* qm/test/cmdline.py (qm.test.runnable.Runnable): Import it.
(QMTest.extension_id_option_spec): New variable.
(QMTest.conflicting_option_specs): Update.
(QMTest.__ExecuteCreate): Support writing extensions to the
database.
* qm/test/database.py (Database.GetExtension): Fix typo.
* qm/test/doc/reference.xml: Document --id option to "qmtest
create".
* qm/test/share/messages/diagnostics.txt (db not modifiable): New
message.
(no db specified): Update message.
2005-07-20 Mark Mitchell <[email protected]>
* qm/test/database.py (qm.test.resource.Resource): Import it.
(qm.test.suite.Suite): Likewise.
(Database._is_generic_database): New
variable.
(Database.GetExtension): New function.
(Database.GetTest): Use it.
(Database.GetResource): Likewise.
(Database.GetSuite): Likewise.
* qm/test/doc/reference.xml: Update information about writing
database classes.
* qm/executable.py (Executable.Spawn): Initialize self.__child.
(Executable._GetChildPID): Adjust documentation to reflect that
this function may return None.
(TimeoutExecutable.Run): If the child is None, do not try to kill
it.
* qm/test/doc/reference.xml: Add documentation about
prerequisites.
2005-07-19 Mark Mitchell <[email protected]>
* qm/test/execution_engine.py (ExecutionEngine.__AddTestToStack):
If a test prerequisite does not exist, give the test an error
outcome.
* qm/test/share/messages/diagnostics.txt (prerequisite not in
database): New message.
* tests/regress/bad_prereq: New test.
* qm/test/classes/python.py (ExecTest.Run): Handle empty input.
* qm/test/doc/reference.xml: Provide example of SetUp and CleanUp
methods for resources.
Revert:
2005-07-19 Mark Mitchell <[email protected]>
* qm/test/doc/manual.xml: Use DocBook 4.2.
* qm/test/doc/manual.xml: Use DocBook 4.2.
* qmdist/command/build_doc.py (find_file): Remove.
(build_doc.user_options): New variable.
(build_doc.xml_dcl_paths): Likewise.
(build_doc.dtd_dirs): Likewise.
(build_doc.stylesheet_dirs): Likewise.
(build_doc.initialize_options): New function.
(build_doc.finalize_options): Likewise.
(build_doc.call_jade): Remove dcl parameter. Use Jade options
provided by the user.
(build_doc.run): Honor user direction regarding what
documentation to build.
(build_doc.find_file): New function.
* qm/test/classes/command.py (ShellScriptTest._GetShell): New
function.
(ShellScriptTest.Run): Use it.
* qm/test/file_database.py: Fix typo in documentation.
2005-07-06 Stefan Seefeld <[email protected]>
* NEWS: Report improvements in version 2.3.
2005-07-05 Mark Mitchell <[email protected]>
* qm/test/cmdline.py (QMTest.__ExecuteRegister): Fix typo.
2005-06-23 Stefan Seefeld <[email protected]>
* qm/share/xml/report.xslt: New stylesheet to generate html reports.
* setup.py: Fix installation paths.
* qm/__version.py: Increment version_info to (2,3,0).
* qm/test/cmdline.py: Enhance documentation for 'report' command.
* qm/test/file_database.py: Fix typos.
* qm/test/result_stream.py: Remove obsolete comment.
* qm/test/doc/reference.xml: Document 'report' command.
* qm/test/web/web.py: Fix incorrect documentation strings.
2005-06-13 Mark Mitchell <[email protected]>
* qm/remote_host.py: Rename to ...
* qm/host.py: ... this. Replace "RemoteHost" with "Host"
throughout.
* qm/test/base.py: Adjust accordingly.
* qm/test/classes/classes.qmc: Likewise.
* qm/test/classes/compiler_table.py: Likewise.
* qm/test/classes/local_host.py: Likewise.
2005-06-10 Mark Mitchell <[email protected]>
* qm/remote_host.py: New file.
* qm/test/base.py (__extension_bases): Add "remote_host".
(extension_kinds): Derive automatically from __extension_base.
* qm/test/classes/classes.qmc: Add local_host.LocalHost,
ssh_host.SSHHost, ssh_host.RSHHost, and simulator.Simulator.
* qm/test/classes/compiler.py (Compiler.GetExecutableExtension):
New method.
(Compiler.GetObjectExtension): Likewise.
* qm/test/classes/compiler_table.py (CompilerTable.Setup): Fix
typos and thinkos. Set up CompilerTable.target.
* qm/test/classes/compiler_test.py (CompiledExecutable): Remove.
(CompilerTest._GetObjectFileName): Fix typo in comment.
(CompilerTest.Run): Save the compiler.
(CompilerTest._RunExecutable): Use the RemoteHost provided by the
compiler table.
* qm/test/classes/local_host.py: New file.
* qm/test/classes/simulator.py: Likewise.
* qm/test/classes/ssh_host.py: Likewise.
* qm/test/cmdline.py (QMTest.__ExecuteRegister): Use
__CheckExtensionKind.
* qm/test/result.py (Result.NoteException): Quote exception
string.
* qm/extension.py (Extension.Type.__init__): Fix overlong lines.
(make_dom_element): Fix typo in comment.
2005-06-06 Stefan Seefeld <[email protected]>
* setup.py: Move data into <prefix>/share/qm.
* qm/__init__.py: Likewise.
* qmdist/command/install_data.py: Likewise.
* MANIFEST.in: Cleanup.
* Makefile: Removed.
* configure: Removed.
* configure.in: Removed.
* qm/test/classes/compiler.py: Bugfix and cleanup.
2005-06-01 Mark Mitchell <[email protected]>
Test documentation generation again.
2005-05-31 Stefan Seefeld <[email protected]>
* qm/test/report.py: Support expectation files.
* qm/test/cmdline.py: Factor out global database
and targets objects to...
* qm/test/test.py: ...here.
* qm/test/database.py: ...and here.
* qm/test/context.py: Add TARGET_CONTEXT_PROPERTY.
* qm/test/target.py: Define it.
* qm/test/classes/command.py: Use unicode context variables
when setting up environment, but only when convertible to str.
2005-05-18 Zack Weinberg <[email protected]>
* qm/test/database.py (ItemDescriptor._Execute): Use getattr
and a bound method object instead of eval.
2005-05-03 Stefan Seefeld <[email protected]>
* qm/test/report.py: Add ReportGenerator module.
* qm/test/cmdline.py: Add 'report' command.
2005-04-15 Stefan Seefeld <[email protected]>
* qm/test/classes/compiler.py: Add support for new 'ldflags' parameter.
* qm/test/classes/compiler_table.py: Likewise.
2005-04-14 Stefan Seefeld <[email protected]>
* qm/test/classes/compiler.py: Moved over extension from qmtc.
* qm/test/classes/compiler_table.py: Likewise.
* qm/test/classes/compiler_test.py: Likewise.
* qm/test/classes/classes.qmc: Registered 'CompilerTable' resource.
2005-03-31 Stefan Seefeld <[email protected]>
* qm/extension.py: Fix omission (see entry from 2005-03-24).
2005-03-29 Stefan Seefeld <[email protected]>
* qm/test/parameter_database.py: New file.
2005-03-24 Stefan Seefeld <[email protected]>
* qm/extension.py: Enhance the detection of argument name collision.
* Makefile: Removed.
* configure.in: Removed.
* configure: Removed.
2005-03-21 Stefan Seefeld <[email protected]>
* qm/extension.py: Use metaclass to manipulate 'Field' members.
* qm/fields.py: Make fields more convenient to use in the context of
Extensions.
* tests/xmldb/api.xms/test.qms/fields.qmt: New unit test for this feature.
* tests/xmldb/QMTest/test_inheritance.py: Adjust test to new
feature.
* qm/test/classes/python.py: Work around a python bug.
* qm/test/classes/command.py: Generalize ExecTestBase's output
validation.
2005-03-20 Stefan Seefeld <[email protected]>
* qm/test/classes/xml_database.py: Fix ExplicitSuite constructor call.
* tests/regress/QMTest/selftest.py: Allow an 'ids' file to specify test
and suite ids to be specified to be used in the 'qmtest run' command.
* tests/regress/xml2: New regression test for XMLDatabase's ability to
use explicit suites.
* qm/test/share/tutorial/tdb/suite.qms: New demo suite.
2005-02-14 Stefan Seefeld <[email protected]>
* README: Update documentation to reflect current build procedure.
* GNUmakefile.in: Removed.
2005-02-14 Stefan Seefeld <[email protected]>
* qm/web.py: Replace deprecated use of whrandom by random.
* qm/external/DocumentTemplate/DT_Util.py: Likewise.
2005-01-05 Stefan Seefeld <[email protected]>
* qmdist/command/build_scripts.py: Create new command to extend
the default build_scripts command.
* setup.py: Use the extended build_scripts command.
* GNUmakefile.in: Remove obsolete command.
2004-12-16 Stefan Seefeld <[email protected]>
* qm/test/web/web.py: Replace operator 'is' by '=='
in string comparison
2004-10-28 Matthias Klose <[email protected]>
* qmdist/command/build_doc.py (build_doc.run): Use "openjade" if
"jade" is not available.
2004-08-20 Nathaniel Smith <[email protected]>
* qm/__init__.py: Don't import or define 'lib_dir'.
* qmdist/command/install_data.py (install_data.run): Don't define
'lib_dir'.
* qm/common.py (get_lib_directory): Don't use 'lib_dir' and
'qm.prefix', but rather '__file__'.
* qm/test/base.py (get_extension_directories): Remove
now-redundant logic around call to 'get_lib_directory'.
2004-05-28 Mark Mitchell <[email protected]>
* qm/test/qmtest (check_python_version): Clarify error message.
2004-05-27 Mark Mitchell <[email protected]>
* qm/test/qmtest (check_python_version): Rework to avoid using
newer Python features.
2004-05-26 Mark Mitchell <[email protected]>
* MANIFEST.in (qm/test/doc/html/qm.css): Include it.
2004-05-25 Mark Mitchell <[email protected]>
* qm/test/execution_engine.py
(ExecutionEngine._WriteInitialAnnotations): Check that uname is
not None before trying to write it out.
* qm/test/qmtest (qm.sigmask): Import it in the global scope, not
...
(main): ... here.
2004-05-24 Mark Mitchell <[email protected]>
* NEWS: Mention improvements in 2.2.
* GNUmakefile.in (distclean): Remove MANIFEST.
* setup.py: Install documentation stylesheet.
* doc/qm-sgml.dsl: Use documentation stylesheet.
* doc/qm.css: Incorporate bits of CodeSourcery web site
look-and-feel.
* qmdist/command/build_doc.py (build_doc.run): Copy documentation
stylesheet to HTML directory.
* qm/test/doc/manual.xml: Update copyright date and version
number.
2004-05-24 Nathaniel Smith <[email protected]>
* qmdist/command/build_doc.py (build_doc.run): Create
'doc/qm-version' file.
* doc/qm.mod: Define entity 'qm_version' to its contents.
* qm/test/doc/manual.xml (internal_doc_url): Use
'qm_version_entity' in definition.
2004-05-21 Nathaniel Smith <[email protected]>
* qm/test/target.py (Target.Start): Add instance variable
'__order_of_resources'.
(Target._FinishResourceSetUp): Record resource setup order in
it.
(Target.Stop): Use it to determine resource cleanup order.
* tests/regress/resource_ordering: New test.
2004-05-21 Nathaniel Smith <[email protected]>
* Makefile: Switch default copyright date to 2004.
* docbook: Likewise.
* docbook-chapter: Likewise.
* dtml: Likewise.
* html: Likewise.
* py: Likewise.
* xml: Likewise.
2004-05-05 Nathaniel Smith <[email protected]>
* GNUmakefile.in (build): Force executable bit on scripts in
build directory.
2004-05-04 Nathaniel Smith <[email protected]>
* setup.py: Import 'Extension'.
Use it to build qm.sigmask.
* qm/sigmask.c: New file.
* qm/test/qmtest (main): Import 'qm.sigmask'; call
'qm.sigmask.save_mask'.
* qm/executable.py: Import 'qm.sigmask'.
(Executable._InitializeChild): Call 'qm.sigmask.restore_mask'.
* tests/xmldb/signals_unblocked.qmt: New test.
* tests/xmldb/signals_unblocked_tmpdir.qma: New resource.
* qmdist/command/check.py (check): Overhaul to respect
QMTESTFLAGS and use the correct path to the QMTest executable.
* GNUmakefile.in: Use "setup.py check" to run tests.
* qm/test/qmtest (rel_libdir): When running out of source tree,
use built library.
2004-03-30 Nathaniel Smith <[email protected]>
* qm/common.py (htmllib): Import it.
(StringIO): Likewise.
(formatter): Likewise.
(html_to_text): New function.
* qm/test/classes/text_result_stream.py
(TextResultStream._DisplayAnnotations): Use it.
(formatter): Don't import it.
(htmllib): Likewise.
(StringIO): Likewise.
(qm.common): Import it.
(qm.fields): Likewise.
* qm/test/result.py (cgi): Import it.
(Result.Quote): New function.
(Result.NoteException): Use it.
* qm/test/classes/dg_test.py (DGTest._RunDGTest): Likewise.
* qm/test/classes/command.py (ExecTestBase.RunProgram):
Likewise.
* qm/test/classes/dejagnu_base.py
(DejaGNUBase._RecordCommandOutput): Likewise.
(DejaGNUBase._RecordCommand): Likewise.
* tests/regress/QMTest/selftest.py (RegTest.Run): Likewise.
* tests/results_files/QMTest/results_file_test.py
(ResultsFileTest.Run): Likewise.
* qm/test/classes/tet_stream.py (TETStream): Many output
enhancements.
* qm/test/classes/dg_test.py (DGTest._RunDGTest): Refactor,
(DGTest._RunDGToolPortion): ...creating this.
(DGTest._RunDGExecutePortion): ...and this.
* qm/test/classes/pickle_result_stream.py (types): Import it.
(PickleResultStream.WriteAnnotation): Check that annotations are
strings.
* qm/common.py (get_username): Expand docstring.
(get_userid): New function.
* qm/test/execution_engine.py
(ExecutionEngine._WriteInitialAnnotations): Use it.
Disambiguate old "qmtest.run.user" annotation by renaming to
"qmtest.run.username".
Add "qmtest.run.command_line" annotation.
2004-03-15 Nathaniel Smith <[email protected]>
* qm/test/target.py (Target._SetUpResource): Fix typo from
previous commit.