This is the mail archive of the gcc-patches@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]

Re: [PATCH, g++, testsuite] Skip thread_local6.C on target using wrapper


On Aug 21, 2014, at 6:33 PM, Tony Wang <tony.wang@arm.com> wrote:
> Thanks for your reply, and I also thought of your suggestion to wrap the _exit. The fact is that dejagnu does
> the wrapper to both exit() and _exit(), but it give a higher priority to the exit(), which means if you both
> call exit() and _exit(), it will only output the return value in exit().

Hum...  There is some code that scans for:

*** EXIT code 0

in dejagnu in remote.exp and I suspect it selects the wrong line (if there are multiple lines).  I think it should find the last line, not the first.  Another fix would be fix it, however, that’s annoying as then we need a dejagnu update or we need to replace one of the functions in dejagnu, which I always hate doing.  I mention it here for completeness.

> Ok, I will commit with this version.

Thanks.


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