]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3732] Add test-all.sh
authorAndrei Pavel <andrei@isc.org>
Wed, 9 Apr 2025 15:13:55 +0000 (18:13 +0300)
committerAndrei Pavel <andrei@isc.org>
Wed, 9 Apr 2025 15:13:55 +0000 (18:13 +0300)
As a workaround for "meson test" segfaulting on Alpines and rarely on
other systems.

test-all.sh [new file with mode: 0755]

diff --git a/test-all.sh b/test-all.sh
new file mode 100755 (executable)
index 0000000..787d974
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+test_cmds=$(meson introspect --tests build -i | jq -r .[].cmd[] | sort -V)
+
+for test_cmd in ${test_cmds}; do
+    "${test_cmd}"
+done