[riot-notifications] [RIOT-OS/RIOT] tests: add tests to reproduce #10881 (#10908)

Kaspar Schleiser notifications at github.com
Wed Feb 13 13:02:07 CET 2019


kaspar030 commented on this pull request.



> +    }
+
+    return NULL;
+}
+
+int main(void)
+{
+    kernel_pid_t pid;
+
+    timer_init(TIMER_DEV(0), TIMER_FREQ, _timer, NULL);
+    random_init(timer_read(TIMER_DEV(0)));
+    puts("Test is \"successful\" if it runs forever without halting\n"
+         "on any of the assertion in this file");
+    _pid_main = sched_active_pid;
+
+    /* try to trigger an interrupt at random intervals.

I think this can be made a printf, so manual users get an idea of what's happening.

-- 
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/10908#pullrequestreview-203171530
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190213/af152a11/attachment.html>


More information about the notifications mailing list