Menu

#259 test suite enhancement - bug report files

open
5
2007-05-17
2007-05-17
No

I'd like to request that, as a part of the tcllib test suite, one or more files be generated when tests fail, that would contain information formatted in such a way as to make submission of the bugs to the web site relatively trivial.

In this way, after someone runs the tests, they could, if they so wanted, pop over to the sf.net site and submit a series of bug reports on problems seen.

Discussion

  • Andreas Kupries

    Andreas Kupries - 2007-08-21

    Split tcltest logout of failed tests into expected/actual result for tkdiff/eskil, etc.

     
  • Andreas Kupries

    Andreas Kupries - 2007-08-21

    Logged In: YES
    user_id=75003
    Originator: NO

    Attaching a quick hack I made quite some time ago for regular tcltest logfiles, 'tsrsplit.tcl'. That one was for getting expected/is output for use with tkdiff.
    File Added: tsrsplit.tcl

     
  • Larry W. Virden

    Larry W. Virden - 2007-08-22

    Logged In: YES
    user_id=15949
    Originator: YES

    Are there log files generated when I do a normal make test? If so, where? All I was aware of was the "fancy" output that was displayed.

    Would the attached script be appropriate to add in the tcllib distribution?

     
  • Andreas Kupries

    Andreas Kupries - 2007-08-22

    Logged In: YES
    user_id=75003
    Originator: NO

    Attached script in tcllib - not yet. It was a quick hack, not very polished, and only useful in combination with other commands, like tkdiff or eskil, i.e. lots of manual work still. It is semi-related, as it also processes test output.

    log files via 'make test'. The CVS head got some changes to 'make test': 'make test_interactive' -> fancy output, 'make test_batch' -> detailed output. 'make test' now chooses automatically. Fancy normally, and when redirected to a file it does the detailed log.