Lines Matching full:valgrind
1304 * valgrind
1305 * Run the test under valgrind if C_TAP_VALGRIND is set. The contents
1306 * of that environment variable are taken as the valgrind command (with
1311 * If running under valgrind, use libtool to invoke valgrind. This avoids
1312 * running valgrind on the wrapper shell script generated by libtool. If
1314 * to use to run valgrind and thus the test. Ignored if the test isn't
1315 * being run under valgrind.
1322 const char *valgrind = NULL; in parse_test_list_line() local
1337 } else if (strncmp(p, "valgrind", end - p) == 0) { in parse_test_list_line()
1338 valgrind = getenv("C_TAP_VALGRIND"); in parse_test_list_line()
1339 use_valgrind = (valgrind != NULL); in parse_test_list_line()
1349 if (use_valgrind && valgrind != NULL) { in parse_test_list_line()
1350 p = skip_whitespace(valgrind); in parse_test_list_line()
1362 if (use_valgrind && valgrind != NULL) { in parse_test_list_line()
1366 die("valgrind with libtool requested, but C_TAP_LIBTOOL is not" in parse_test_list_line()
1371 p = skip_whitespace(valgrind); in parse_test_list_line()
1768 /* For valgrind cleanliness, free all our memory. */ in main()