This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug testsuite/80221] Contrib script to rewrite testcase from absolute to relative line numbers


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80221

Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #17 from Tom de Vries <vries at gcc dot gnu.org> ---
I've written the script contrib/tests-rewrite-relative-line-number.py, and
committed the results of running it. The script itself is not committed, given
that we're not expecting to reuse it.

I've added the dg-line directive, so hopefully most of the remaining absolute
linenrs can be rewritten on a case-by-case-basis using either relative or saved
line nrs.

Given that the automated part of the effort is done, marking as resolved,
fixed.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]