diff options
author | Tom de Vries <tdevries@suse.de> | 2018-07-01 14:56:09 +0000 |
---|---|---|
committer | Tom de Vries <vries@gcc.gnu.org> | 2018-07-01 14:56:09 +0000 |
commit | 2d43b8627742b74aa21665b14a79d71316bbeaf2 (patch) | |
tree | 2fb550520a39f4564318b399860d9e35d3e3c940 /gcc/testsuite/lib/gcc-dg.exp | |
parent | 6b150ce95d2b987c33bbc3e6e8bc593f1b2f636b (diff) | |
download | gcc-2d43b8627742b74aa21665b14a79d71316bbeaf2.zip gcc-2d43b8627742b74aa21665b14a79d71316bbeaf2.tar.gz gcc-2d43b8627742b74aa21665b14a79d71316bbeaf2.tar.bz2 |
[testsuite] Fix get-absolute-line error handling
2018-07-01 Tom de Vries <tdevries@suse.de>
* gcc.dg-selftests/dg-final.exp (verify_call_1): Factor out of ...
(verify_call): ... here. Move to toplevel.
(verify_call_np, dg_final_directive_check_utils): New proc.
(toplevel): Call dg_final_directive_check_utils.
* lib/gcc-dg.exp (get-absolute-line): Fix typo in variable reference.
From-SVN: r262284
Diffstat (limited to 'gcc/testsuite/lib/gcc-dg.exp')
-rw-r--r-- | gcc/testsuite/lib/gcc-dg.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/lib/gcc-dg.exp b/gcc/testsuite/lib/gcc-dg.exp index 6f88ce2..4f17963 100644 --- a/gcc/testsuite/lib/gcc-dg.exp +++ b/gcc/testsuite/lib/gcc-dg.exp @@ -1085,7 +1085,7 @@ proc get-absolute-line { useline line } { eval set var_defined [info exists $varname] if { ! $var_defined } { if { "$useline" != "" } { - error "dg-line var $org_varname used at line $uselinenr, but not defined" + error "dg-line var $org_varname used at line $useline, but not defined" } else { error "dg-line var $org_varname used, but not defined" } |