From 0b5c58c2dc3734005d4d5e4be4e6920f2dada64f Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Tue, 16 Feb 2021 00:37:28 +0100 Subject: [PATCH] gcc.misc-tests/outputs.exp (outest): Fix typo "is_target". Fix typo for istarget in "is_target hppa*-*-hpux*", yielding an error running the test-suite for any target not matching powerpc*-*-aix* (presumably, by code inspection), aborting the check-gcc (check-gcc-c) regression test run some 3000 tests before the last one, missing e.g. all gcc.target tests like so: ----- ... Running /x/gcc/gcc/testsuite/gcc.misc-tests/outputs.exp ... ERROR: (DejaGnu) proc "is_target hppa*-*-hpux*" does not exist. The error code is TCL LOOKUP COMMAND is_target The info on the error is: invalid command name "is_target" while executing "::tcl_unknown is_target hppa*-*-hpux*" ("uplevel" body line 1) invoked from within "uplevel 1 ::tcl_unknown $args" === gcc Summary === ... ----- gcc/testsuite: * gcc.misc-tests/outputs.exp (outest): Fix typo "is_target". --- gcc/testsuite/gcc.misc-tests/outputs.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.misc-tests/outputs.exp b/gcc/testsuite/gcc.misc-tests/outputs.exp index d5a9709..4d904bd 100644 --- a/gcc/testsuite/gcc.misc-tests/outputs.exp +++ b/gcc/testsuite/gcc.misc-tests/outputs.exp @@ -192,7 +192,7 @@ proc outest { test sources opts dirs outputs } { # collect2 may create .cdtor* files in -save-temps link tests, # ??? without regard to aux output naming conventions. # Limit this exception to targets that define EH_FRAME_THROUGH_COLLECT2. - if { !(([istarget powerpc*-*-aix*] || [is_target hppa*-*-hpux*]) + if { !(([istarget powerpc*-*-aix*] || [istarget hppa*-*-hpux*]) && ([string match "*.cdtor.*" $f] || [string match "*.gcc_args" $f])) } { lappend outb $f -- 2.7.4