]> git.ipfire.org Git - thirdparty/knot-dns.git/commitdiff
tests-extra: add check for Redis without ASAN master
authorDaniel Salzman <daniel.salzman@nic.cz>
Mon, 27 Apr 2026 06:38:05 +0000 (08:38 +0200)
committerDaniel Salzman <daniel.salzman@nic.cz>
Mon, 27 Apr 2026 06:38:05 +0000 (08:38 +0200)
tests-extra/tools/dnstest/redis.py

index 941d94ed5088010c35fcc2df543115942725a49d..218404402705d7b2bf95cf10dfe70711b70e07f1 100644 (file)
@@ -105,6 +105,10 @@ class Redis(object):
         self.proc = subprocess.Popen(prog)
 
         time.sleep(0.3)
+
+        if fsearch(self.wrk_file("redis.log"), "undefined symbol: __asan"):
+            raise Skip("Redis with ASAN not available")
+
         self.run_monitor()
 
     def run_monitor(self):