Add Valgrind to CI

* Also pass `$*` to `configure` when invoking `ci-build.sh`, so one can
  e.g. run `./ci-build.sh --without-xscreensaver`

Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
This commit is contained in:
Steffen Jaeckel
2025-03-07 20:38:18 +01:00
parent c0da36c48d
commit 9fc0326428
19 changed files with 319 additions and 41 deletions

View File

@@ -543,7 +543,7 @@ prof_occurrences_of_large_message_tests(void** state)
*/
const size_t haystack_sz = 1024;
size_t haystack_cur = 0;
char* haystack = malloc(haystack_sz);
auto_char char* haystack = malloc(haystack_sz);
const char needle[] = "needle ";
while (haystack_sz - haystack_cur > sizeof(needle)) {
memcpy(&haystack[haystack_cur], needle, sizeof(needle));