1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

tests: improve logging

This commit is contained in:
daniel-k 2018-01-23 14:43:30 +01:00
parent 62e1a7d962
commit e46720d23b
2 changed files with 4 additions and 2 deletions

View file

@ -76,8 +76,8 @@ Test(fpga, fifo, .description = "FIFO")
}
/* Compare data */
cr_assert_eq(memcmp(src, dst, sizeof(src)), 0);
cr_assert_eq(memcmp(src, dst, sizeof(src)), 0, "Data not equal");
logger->info("All good for {}", *ip);
logger->info(TXT_GREEN("Passed"));
}
}

View file

@ -65,6 +65,8 @@ Test(fpga, timer, .description = "Timer Counter")
cr_assert(std::abs(durationUs - oneSecondInUs) < 0.01 * oneSecondInUs,
"Timer deviation > 1%%");
logger->info(TXT_GREEN("Passed"));
}
return;