From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from elastic.org (elastic.org [96.126.110.187]) by sourceware.org (Postfix) with ESMTPS id 2097F3858C39 for ; Wed, 6 Jul 2022 16:45:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 2097F3858C39 Received: from vpn-home.elastic.org ([10.0.0.2] helo=elastic.org) by elastic.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1o989H-00012Q-DU for dwz@sourceware.org; Wed, 06 Jul 2022 16:45:11 +0000 Received: from very.elastic.org ([192.168.1.1]) by elastic.org with esmtp (Exim 4.94.2) (envelope-from ) id 1o989G-000Bah-Sr for dwz@sourceware.org; Wed, 06 Jul 2022 12:45:10 -0400 Received: from fche by very.elastic.org with local (Exim 4.94.2) (envelope-from ) id 1o989G-00HQ6v-KA for dwz@sourceware.org; Wed, 06 Jul 2022 12:45:10 -0400 Date: Wed, 6 Jul 2022 12:45:10 -0400 From: "Frank Ch. Eigler" To: dwz@sourceware.org Subject: dwz testsuite patch: version tagging Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Sender-Verification: "" X-Spam-Status: No, score=-107.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE, USER_IN_WELCOMELIST, USER_IN_WHITELIST autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: dwz@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Dwz mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jul 2022 16:45:14 -0000 Hi - The following little obvious patch adds the usual dejagnu trailer to the .log/.sum files. Wonder if people would be interested in adding more tracing to the test cases, so the .log file is not so bare. Maybe just execute all the subtest .sh files with "sh -x" and verbose-log their output? - FChE diff --git a/testsuite/config/default.exp b/testsuite/config/default.exp index e69de29bb2d1..16785528e489 100644 --- a/testsuite/config/default.exp +++ b/testsuite/config/default.exp @@ -0,0 +1,8 @@ + + + +proc dwz_version {} { + set location [exec /usr/bin/which dwz] + regexp {version [0-9.]*} [exec dwz --version 2>@ stdout] version + clone_output "$location $version" +}