# include <string.h>
#endif
-#ifdef _WIN32
+#if defined(WIN32)
# include <malloc.h>
#else
# include <alloca.h>
# define SKIP(__message_format, ...)
#endif
-static inline bool valgrind_is_caller(void)
-{
- if (getenv("TESTS_ENVIRONMENT") && strstr(getenv("TESTS_ENVIRONMENT"), "valgrind"))
- {
- return true;
- }
-
- return false;
-}
+#include <libtest/valgrind.h>
static inline size_t yatl_strlen(const char *s)
{
} \
} while (0)
-#define ASSERT_NEQ(__expected, __actual, ...) \
+#define ASSERT_NEQ(__expected, __actual) \
do \
{ \
if ((__expected) == (__actual)) { \