<p></p>
<p><b>@maribu</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/RIOT-OS/RIOT/pull/16254#discussion_r647278931">tests/ztimer_periodic/main.c</a>:</p>
<pre style='color:#555'>>  
-    ztimer_periodic_init(ZTIMER_MSEC, &t, callback, NULL, INTERVAL);
-    uint32_t last = ztimer_now(ZTIMER_MSEC);
-
-    ztimer_periodic_start(&t);
-
-    if (!ztimer_is_set(ZTIMER_MSEC, &t.timer)) {
-        print_str("Test failed\n");
-        return 1;
-    }
+    for (size_t j = 0; j < ARRAY_SIZE(clocks); j++) {
+        printf("Testing clock: %s\n", _names[j]);
+        ztimer_clock_t *clock = clocks[j];
+        ztimer_periodic_init(clock, &t, callback, clock, _intervals[j]);
+        uint32_t last = ztimer_now(clock);
</pre>
<p>I'd say the test is fine, but the implementation in AVR is flanky. I would like to debug this, but I currently don't have the time :-/</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/16254#discussion_r647278931">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYG25O66LV576BHSMZLTRXPNRANCNFSM42BZXY2Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABE7WYDXVWYKML7UD7TVZFTTRXPNRA5CNFSM42BZXY22YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOFBXBSMY.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/16254#discussion_r647278931",
"url": "https://github.com/RIOT-OS/RIOT/pull/16254#discussion_r647278931",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>