<p><b>@miri64</b> approved this pull request.</p>

<p>Seconded I tested by modifying <code>tests/thread_flood</code>:</p>
<div class="highlight highlight-source-diff"><pre><span class="pl-c1">diff --git a/tests/thread_flood/Makefile b/tests/thread_flood/Makefile</span>
index 18b41ca54..96d3ca4bf 100644
<span class="pl-md">--- a/tests/thread_flood/Makefile</span>
<span class="pl-mi1">+++ b/tests/thread_flood/Makefile</span>
<span class="pl-mdr">@@ -1,5 +1,6 @@</span>
 include ../Makefile.tests_common
 
 DISABLE_MODULE += auto_init
<span class="pl-mi1"><span class="pl-mi1">+</span>USEMODULE += ps</span>
 
 include $(RIOTBASE)/Makefile.include
<span class="pl-c1">diff --git a/tests/thread_flood/main.c b/tests/thread_flood/main.c</span>
index bfc58d1c5..595392187 100644
<span class="pl-md">--- a/tests/thread_flood/main.c</span>
<span class="pl-mi1">+++ b/tests/thread_flood/main.c</span>
<span class="pl-mdr">@@ -24,6 +24,7 @@</span>
 #include <errno.h>
 #include <stdio.h>
 
<span class="pl-mi1"><span class="pl-mi1">+</span>#include "ps.h"</span>
 #include "thread.h"
 #include "kernel_types.h"
 
<span class="pl-mdr">@@ -44,7 +45,7 @@</span> int main(void)
     do {
         thr_id = thread_create(
             dummy_stack, sizeof(dummy_stack),
<span class="pl-md"><span class="pl-md">-</span>            THREAD_PRIORITY_MAIN - 1,</span>
<span class="pl-mi1"><span class="pl-mi1">+</span>            -(THREAD_PRIORITY_MAIN - 1),</span>
             THREAD_CREATE_SLEEPING | THREAD_CREATE_STACKTEST,
             thread_func, NULL, "dummy");
             ++thr_cnt;
<span class="pl-mdr">@@ -62,6 +63,7 @@</span> int main(void)
         printf("[ERROR] expected %u,", (MAXTHREADS - 2));
     }
     printf(" created %u\n", thr_cnt);
<span class="pl-mi1"><span class="pl-mi1">+</span>    ps();</span>
 
     return 0;
 }</pre></div>
<p>On master I can compile and get with <code>native</code></p>
<pre><code>RIOT native interrupts/signals initialized.
LED_RED_OFF
LED_GREEN_ON
RIOT native board initialized.
RIOT native hardware initialization complete.

main(): This is RIOT! (Version: 2019.10-devel-778-g729ba)
[START] Spawning threads
...............................
[SUCCESS] created 30
        pid | name                 | state    Q | pri | stack  ( used) | base addr  | current     
          - | isr_stack            | -        - |   - |   8192 (   -1) | 0x56629400 | 0x56629400
          1 | idle                 | pending  Q |  15 |   8192 (  436) | 0x56627120 | 0x56628f80 
          2 | main                 | running  Q |   7 |  12288 ( 2716) | 0x56624120 | 0x56626f80 
         32 | dummy                | sleeping _ | 250 |   8192 (   52) | 0x56622120 | 0x56623f80 
         32 | dummy                | sleeping _ | 250 |   8192 (   52) | 0x56622120 | 0x56623f80 
         32 | dummy                | sleeping _ | 250 |   8192 (   52) | 0x56622120 | 0x56623f80 
         32 | dummy                | sleeping _ | 250 |   8192 (   52) | 0x56622120 | 0x56623f80 
         32 | dummy                | sleeping _ | 250 |   8192 (   52) | 0x56622120 | 0x56623f80 
         32 | dummy                | sleeping _ | 250 |   8192 (   52) | 0x56622120 | 0x56623f80 
         32 | dummy                | sleeping _ | 250 |   8192 (   52) | 0x56622120 | 0x56623f80 
         32 | dummy                | sleeping _ | 250 |   8192 (   52) | 0x56622120 | 0x56623f80 
         32 | dummy                | sleeping _ | 250 |   8192 (   52) | 0x56622120 | 0x56623f80 
         32 | dummy                | sleeping _ | 250 |   8192 (   52) | 0x56622120 | 0x56623f80 
         32 | dummy                | sleeping _ | 250 |   8192 (   52) | 0x56622120 | 0x56623f80 
         32 | dummy                | sleeping _ | 250 |   8192 (   52) | 0x56622120 | 0x56623f80 
         32 | dummy                | sleeping _ | 250 |   8192 (   52) | 0x56622120 | 0x56623f80 
         32 | dummy                | sleeping _ | 250 |   8192 (   52) | 0x56622120 | 0x56623f80 
         32 | dummy                | sleeping _ | 250 |   8192 (   52) | 0x56622120 | 0x56623f80 
         32 | dummy                | sleeping _ | 250 |   8192 (   52) | 0x56622120 | 0x56623f80 
         32 | dummy                | sleeping _ | 250 |   8192 (   52) | 0x56622120 | 0x56623f80 
         32 | dummy                | sleeping _ | 250 |   8192 (   52) | 0x56622120 | 0x56623f80 
         32 | dummy                | sleeping _ | 250 |   8192 (   52) | 0x56622120 | 0x56623f80 
         32 | dummy                | sleeping _ | 250 |   8192 (   52) | 0x56622120 | 0x56623f80 
         32 | dummy                | sleeping _ | 250 |   8192 (   52) | 0x56622120 | 0x56623f80 
         32 | dummy                | sleeping _ | 250 |   8192 (   52) | 0x56622120 | 0x56623f80 
         32 | dummy                | sleeping _ | 250 |   8192 (   52) | 0x56622120 | 0x56623f80 
         32 | dummy                | sleeping _ | 250 |   8192 (   52) | 0x56622120 | 0x56623f80 
         32 | dummy                | sleeping _ | 250 |   8192 (   52) | 0x56622120 | 0x56623f80 
         32 | dummy                | sleeping _ | 250 |   8192 (   52) | 0x56622120 | 0x56623f80 
         32 | dummy                | sleeping _ | 250 |   8192 (   52) | 0x56622120 | 0x56623f80 
         32 | dummy                | sleeping _ | 250 |   8192 (   52) | 0x56622120 | 0x56623f80 
         32 | dummy                | sleeping _ | 250 |   8192 (   52) | 0x56622120 | 0x56623f80 
         32 | dummy                | sleeping _ | 250 |   8192 (   52) | 0x56622120 | 0x56623f80 
            | SUM                  |            |     | 274432 ( 4712)
^C
</code></pre>
<p>With this PR the test falls into an endless loop and never stops printing dots (as <code>thr_id</code> will always be <code>-EINVAL</code>).</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/12203?email_source=notifications&email_token=ABE7WYFY6X6QQ3ETUB2Q25TQJE5JLA5CNFSM4IVWDSEKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCENVEIY#pullrequestreview-287003171">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYCIBDFHSI5HOCUHP5DQJE5JLANCNFSM4IVWDSEA">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABE7WYAXENEI2WP4PG74MQ3QJE5JLA5CNFSM4IVWDSEKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCENVEIY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/12203?email_source=notifications\u0026email_token=ABE7WYFY6X6QQ3ETUB2Q25TQJE5JLA5CNFSM4IVWDSEKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCENVEIY#pullrequestreview-287003171",
"url": "https://github.com/RIOT-OS/RIOT/pull/12203?email_source=notifications\u0026email_token=ABE7WYFY6X6QQ3ETUB2Q25TQJE5JLA5CNFSM4IVWDSEKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCENVEIY#pullrequestreview-287003171",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>