[PATCH]Skip g++.dg/tls testes on target using status wrapper

Renlin Li renlin.li@arm.com
Tue Jan 20 15:20:00 GMT 2015


Hi all,

This patch will add "unwrapped" target selector for g++.dg/tls tests.

When "needs_status_wrapper" flag is set in a board file, testglue.o is 
used to wrap exit, _exit, abort etc. standard functions, and print out 
"*** EXIT code X" for dejagnu. And this print is only done once. 
Normally, exit() is called first with the return value of main function. 
And this value is feed back to dejagnu. The really exit code from 
_exit(), however, is not correctly captured.

This patch will skip those testes as the intended exit code is not 
correctly captured by dejagnu.

Okay to commit?

Regards,
Renlin Li

gcc/testsuite/ChangeLog:

2015-01-20 Renlin Li <renlin.li@arm.com>

     * g++.dg/tls/thread_local5.C: Skip when dejagnu
     wrapper is used.
     * g++.dg/tls/thread_local5g.C: Likewise.
     * g++.dg/tls/thread_local6g.C: Likewise.




-------------- next part --------------
A non-text attachment was scrubbed...
Name: tls.diff
Type: text/x-patch
Size: 1372 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150120/1db21d3d/attachment.bin>


More information about the Gcc-patches mailing list