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

@@ -12,7 +12,7 @@
void
returns_no_commands(void** state)
{
callbacks_init();
plugins_init();
GList* commands = plugins_get_command_names();
assert_true(commands == NULL);
@@ -21,8 +21,7 @@ returns_no_commands(void** state)
void
returns_commands(void** state)
{
callbacks_init();
plugins_init();
PluginCommand* command1 = calloc(1, sizeof(PluginCommand));
command1->command_name = strdup("command1");
callbacks_add_command("plugin1", command1);