[testsuite] Fix get-absolute-line error handling
authorTom de Vries <tdevries@suse.de>
Sun, 1 Jul 2018 14:56:09 +0000 (14:56 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Sun, 1 Jul 2018 14:56:09 +0000 (14:56 +0000)
commit2d43b8627742b74aa21665b14a79d71316bbeaf2
tree2fb550520a39f4564318b399860d9e35d3e3c940
parent6b150ce95d2b987c33bbc3e6e8bc593f1b2f636b
[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
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg-selftests/dg-final.exp
gcc/testsuite/lib/gcc-dg.exp