[riot-notifications] [RIOT-OS/RIOT] tests/pthread_tls: allow negative key values (#11378)

Kaspar Schleiser notifications at github.com
Thu Apr 11 15:39:25 CEST 2019


### Contribution description

On Hifive1, the created keys have a negative value. IIUC the key is basically a pointer converted to int, which on hifive1 is in a memory area which causes the sign to be negative.
This commit adjusts the pexpect script to allow for that.

### Testing procedure

See #11041 succeeding on hifive1 with this fix.

### Issues/PRs references

#11041
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/11378

-- Commit Summary --

  * tests/pthread_tls: allow negative key values

-- File Changes --

    M tests/pthread_tls/tests/01-run.py (8)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/11378.patch
https://github.com/RIOT-OS/RIOT/pull/11378.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11378
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190411/37c406b4/attachment-0001.html>


More information about the notifications mailing list