mu-test: add valgrind check

Make it a bit easier to skip some tests when running under valgrind.
This commit is contained in:
Dirk-Jan C. Binnema
2025-05-24 19:18:10 +03:00
parent 782e6cbe05
commit 452969355c
3 changed files with 26 additions and 0 deletions

View File

@ -42,6 +42,13 @@ Mu::mu_test_mu_hacker()
{
return !!g_getenv("MU_HACKER");
}
bool
Mu::mu_test_mu_valgrind()
{
return !!g_getenv("MU_VALGRIND");
}
/* LCOV_EXCL_STOP*/