1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

tests/bench_xtimer: add printing if sizeof(xtimer_t)

This commit is contained in:
Kaspar Schleiser 2020-01-09 11:23:23 +01:00
parent a018df68cd
commit c5ddc685b9
2 changed files with 3 additions and 1 deletions

View File

@ -283,6 +283,8 @@ int main(void)
_print_result("xtimer_now()", REPEAT, diff);
assert(!_triggers);
_print_result("sizeof(xtimer_t)", NUMOF_TIMERS, sizeof(_timers));
puts("done.");
return 0;

View File

@ -12,7 +12,7 @@ from testrunner import run
def testfunc(child):
child.expect_exact("xtimer benchmark application.\r\n")
for i in range(12):
for i in range(13):
child.expect(r"\s+[\w() _\+]+\s+\d+ / \d+ = \d+\r\n")
child.expect_exact("done.\r\n")