Bug 30121 - make dejagnu logs more elaborate
Summary: make dejagnu logs more elaborate
Status: RESOLVED FIXED
Alias: None
Product: dwz
Classification: Unclassified
Component: default (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-13 16:46 UTC by Frank Ch. Eigler
Modified: 2023-02-18 11:39 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments
proposed patch (354 bytes, patch)
2023-02-13 16:46 UTC, Frank Ch. Eigler
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Ch. Eigler 2023-02-13 16:46:43 UTC
Created attachment 14681 [details]
proposed patch

dwz-tests.exp produces totally barebones dwz.log files, basically duplicating the .sum file.  If there are any errors, there's basically no info to go on.

Please consider applying the following patch.  It runs the .sh subtests in -x trace mode, and logs stdout/stderr to the .log file, so e.g. bunsen can safe-keep it.  Otherwise I believe no-op.
Comment 1 Mark Wielaard 2023-02-18 11:39:11 UTC
Looks helpful. Pushed as:

commit 5ae6047adef9648f50e007b23df09d38de5e0729
Author: Frank Ch. Eigler <fche@redhat.com>
Date:   Sat Feb 18 12:36:15 2023 +0100

    make dejagnu logs more elaborate
    
    dwz-tests.exp produces totally barebones dwz.log files, basically
    duplicating the .sum file.  If there are any errors, there's
    basically no info to go on.
    
    The patch runs the .sh subtests in -x trace mode, and logs
    stdout/stderr to the .log file, so e.g. bunsen can safe-keep it.
    Otherwise I believe no-op.