*
*/
-#include <config.h>
+#include "libtest/yatlcon.h"
#include <libtest/common.h>
namespace libtest {
+bool jenkins_is_caller(void)
+{
+ if (bool(getenv("JENKINS_HOME")))
+ {
+ return true;
+ }
+
+ return false;
+}
+
bool valgrind_is_caller(void)
{
if (bool(getenv("TESTS_ENVIRONMENT")) and strstr(getenv("TESTS_ENVIRONMENT"), "valgrind"))
return true;
}
+ if (bool(getenv("LIBTEST_IN_GDB")))
+ {
+ return true;
+ }
+
return false;
}