From: Nathan Sidwell Date: Fri, 3 Nov 2017 14:18:01 +0000 (+0000) Subject: [PATCH] Fix testsuire error message X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=91afdf4c797b1768036b2e32728482c2139e05e1;p=gcc.git [PATCH] Fix testsuire error message https://gcc.gnu.org/ml/gcc-patches/2017-11/msg00196.html * lib/scanlang.exp: Fix error message to refer to scan-lang-dump. From-SVN: r254375 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e40224e5564..f8754d43581 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,7 @@ 2017-11-03 Nathan Sidwell + * lib/scanlang.exp: Fix error message to refer to scan-lang-dump. + PR c++/82710 * g++.dg/warn/pr82710.C: More cases. diff --git a/gcc/testsuite/lib/scanlang.exp b/gcc/testsuite/lib/scanlang.exp index 796214385c8..729d3069c2a 100644 --- a/gcc/testsuite/lib/scanlang.exp +++ b/gcc/testsuite/lib/scanlang.exp @@ -28,11 +28,11 @@ load_lib scandump.exp proc scan-lang-dump { args } { if { [llength $args] < 2 } { - error "scan-tree-dump: too few arguments" + error "scan-lang-dump: too few arguments" return } if { [llength $args] > 3 } { - error "scan-tree-dump: too many arguments" + error "scan-lang-dump: too many arguments" return } if { [llength $args] >= 3 } {