This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, g++, testsuite] Skip thread_local6.C on target using wrapper
- From: Mike Stump <mikestump at comcast dot net>
- To: Tony Wang <tony dot wang at arm dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 22 Aug 2014 14:33:11 -0700
- Subject: Re: [PATCH, g++, testsuite] Skip thread_local6.C on target using wrapper
- Authentication-results: sourceware.org; auth=none
- References: <001701cfbc61$fa4db540$eee91fc0$ at arm dot com> <64CE57ED-F22A-4801-BD10-A7D90B95F9EF at comcast dot net> <000d01cfbda9$25874b20$7095e160$ at arm dot com>
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.