]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
docker: add ASAN to pcaps build 1631/head
authorEric Leblond <eric@regit.org>
Wed, 9 Sep 2015 20:40:37 +0000 (22:40 +0200)
committerEric Leblond <eric@regit.org>
Wed, 9 Sep 2015 20:40:37 +0000 (22:40 +0200)
qa/docker/buildbot.cfg

index bce14d22f3a865f918a226d5cf075cb32422e2d2..b2063ac9ca3b47a31cfe26d98f85c8e893715f8a 100644 (file)
@@ -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"]))