Re: shouldfail'ing sourcelocation

Bryce McKinlay <[email protected]> Sun, 20 Jan 2013 01:15:56 +0000
Newsgroups gmane.comp.gcc.java.devel
Message-ID <CALUNu-qKC=vvq3MGpj1qcnFg5Bi2kXgmsq3mnzSM4-DLYyFm-g@mail.gmail.com>
On Sat, Jan 19, 2013 at 3:27 PM, Jack Howarth <[email protected]> wrote:
>    How exactly can we shouldfail the sourcelocation test on those
> platforms like darwin which don't support dwarf4...

This should be an 'xfail', not a 'shouldfail'.

Unfortunately I don't think we ever had a mechanism to do
platform-specific xfails in the libjava testsuite. You could certainly
add that, but maybe just making the line numbers work would be a more
productive use of time :)

Note you don't need dwarf4 to make sourcelocation work (comment in the
test case is a bit misleading). You just need some way to read the
source line number info, whatever format it is in.