aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2021-02-16 00:37:28 +0100
committerHans-Peter Nilsson <hp@axis.com>2021-02-16 02:22:44 +0100
commit0b5c58c2dc3734005d4d5e4be4e6920f2dada64f (patch)
tree1e789c5782ac7b6b320c21905eae96afca80cfff
parentde594739f7ec9f9938e0ab1c7303f7386ba0860c (diff)
downloadgcc-0b5c58c2dc3734005d4d5e4be4e6920f2dada64f.zip
gcc-0b5c58c2dc3734005d4d5e4be4e6920f2dada64f.tar.gz
gcc-0b5c58c2dc3734005d4d5e4be4e6920f2dada64f.tar.bz2
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".
-rw-r--r--gcc/testsuite/gcc.misc-tests/outputs.exp2
1 files changed, 1 insertions, 1 deletions
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 <execname>.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