mirror of
https://github.com/OISF/suricata.git
synced 2026-10-12 02:07:10 +00:00
docker: add ASAN to pcaps build
This commit is contained in:
@@ -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"]))
|
||||
|
||||
Reference in New Issue
Block a user