From: Hans-Peter Nilsson Date: Mon, 15 Feb 2021 23:37:28 +0000 (+0100) Subject: gcc.misc-tests/outputs.exp (outest): Fix typo "is_target". X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0b5c58c2dc3734005d4d5e4be4e6920f2dada64f;p=gcc.git 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". --- diff --git a/gcc/testsuite/gcc.misc-tests/outputs.exp b/gcc/testsuite/gcc.misc-tests/outputs.exp index d5a9709910c..4d904bde31d 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