]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: skip TEST-21-DFUZZER without ASan 22547/head
authorFrantisek Sumsal <frantisek@sumsal.cz>
Sun, 19 Jun 2022 08:39:12 +0000 (10:39 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Sun, 19 Jun 2022 14:22:35 +0000 (16:22 +0200)
as the test is quite time consuming and it yields more useful reports
when the target app is built with sanitizers.

test/TEST-21-DFUZZER/test.sh

index ecc04e368cd15a14e6faa5d6bb6d96142283bc88..42e37c8a9c968994382ae036ff77fd97098f3c4b 100755 (executable)
@@ -12,6 +12,11 @@ QEMU_TIMEOUT="${QEMU_TIMEOUT:-1800}"
 
 command -v dfuzzer >/dev/null || exit 0
 
+if ! get_bool "$IS_BUILT_WITH_ASAN"; then
+    echo "systemd is built without ASan, skipping..."
+    exit 0
+fi
+
 test_append_files() {
     local workspace="${1:?}"