public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-1476] testsuite: print any leaking torture options for debugging
@ 2023-06-01 19:36 Vineet Gupta
  0 siblings, 0 replies; only message in thread
From: Vineet Gupta @ 2023-06-01 19:36 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:3bb8ebb6acfd4ce1ea9d924d73c252a8c4b31e1a

commit r14-1476-g3bb8ebb6acfd4ce1ea9d924d73c252a8c4b31e1a
Author: Vineet Gupta <vineetg@rivosinc.com>
Date:   Fri May 26 16:41:38 2023 -0700

    testsuite: print any leaking torture options for debugging
    
    This was helpful when debugging the recent multilib testsuite failure.
    
    gcc/testsuite:
            * lib/torture-options.exp: print the value of non-empty options:
            torture_without_loops, torture_with_loops, LTO_TORTURE_OPTIONS.
    
    Signed-off-by: Vineet Gupta <vineetg@rivosinc.com>

Diff:
---
 gcc/testsuite/lib/torture-options.exp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gcc/testsuite/lib/torture-options.exp b/gcc/testsuite/lib/torture-options.exp
index d00d07e9378..dfb536d1d96 100644
--- a/gcc/testsuite/lib/torture-options.exp
+++ b/gcc/testsuite/lib/torture-options.exp
@@ -23,15 +23,15 @@ proc torture-init { args } {
     global torture_without_loops global_with_loops
 
     if [info exists torture_without_loops] {
-	error "torture-init: torture_without_loops is not empty as expected"
+	error "torture-init: torture_without_loops is not empty as expected = \"${torture_without_loops}\""
     }
     if [info exists torture_with_loops] {
-	error "torture-init: torture_with_loops is not empty as expected"
+	error "torture-init: torture_with_loops is not empty as expected = \"${torture_with_loops}\""
     }
 
     global LTO_TORTURE_OPTIONS
     if [info exists LTO_TORTURE_OPTIONS] {
-	error "torture-init: LTO_TORTURE_OPTIONS is not empty as expected"
+	error "torture-init: LTO_TORTURE_OPTIONS is not empty as expected =  \"${LTO_TORTURE_OPTIONS}\""
     }
     set LTO_TORTURE_OPTIONS ""
     if [check_effective_target_lto] {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-06-01 19:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-01 19:36 [gcc r14-1476] testsuite: print any leaking torture options for debugging Vineet Gupta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).