Skip test on MIPS as it modifies TLS pointer in set_mcontext().
Discussed with: kib Sponsored by: DARPA, AFRL Sponsored by: HEIF5
This commit is contained in:
parent
f5cf1e5f5a
commit
bf7d7eae01
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=307553
@ -97,6 +97,15 @@ ATF_TC_BODY(swapcontext1, tc)
|
||||
{
|
||||
pthread_t thread;
|
||||
|
||||
#ifdef __mips__
|
||||
/*
|
||||
* MIPS modifies TLS pointer in set_mcontext(), so
|
||||
* swapping contexts obtained from different threads
|
||||
* gives us different pthread_self() return value.
|
||||
*/
|
||||
atf_tc_skip("Platform is not supported.");
|
||||
#endif
|
||||
|
||||
oself = (void *)&val1;
|
||||
nself = (void *)&val2;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user