From bcfb3fd5d59e602c2f620ce854c5d9b428c829c3 Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Wed, 9 Sep 2015 22:40:37 +0200 Subject: [PATCH] docker: add ASAN to pcaps build --- qa/docker/buildbot.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/docker/buildbot.cfg b/qa/docker/buildbot.cfg index bce14d22f3..b2063ac9ca 100644 --- a/qa/docker/buildbot.cfg +++ b/qa/docker/buildbot.cfg @@ -126,7 +126,7 @@ pcaps_list = [ os.path.join(PCAP_PATH, pcap) for pcap in pcaps_list if pcap.ends factory_stress_pcap = SuriBuildFactory() # run the tests (note that this will require that 'trial' is installed) factory_stress_pcap.addStep(ShellCommand(command=["./autogen.sh"])) -factory_stress_pcap.addStep(ShellCommand(command=["./configure","--enable-debug-validation"])) +factory_stress_pcap.addStep(ShellCommand(command=["./configure","--enable-debug-validation"],env={"CFLAGS" : "-fsanitize=address -fno-omit-frame-pointer"})) factory_stress_pcap.addStep(ShellCommand(command=["make"])) factory_stress_pcap.addStep(ShellCommand(command=["sudo", "make","install"])) factory_stress_pcap.addStep(ShellCommand(command=["sudo", "rm", "-f", "/usr/local/etc/suricata/suricata.yaml"])) -- 2.47.3