mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 13:56:01 +03:00
Adds scripts to call the tests using valgrind
This commit is contained in:
parent
b1e845211c
commit
530b158315
4
examples/simple_example_using_c/test-valgrind.sh
Executable file
4
examples/simple_example_using_c/test-valgrind.sh
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
valgrind --tool=massif
|
||||||
|
valgrind --show-leak-kinds=all --leak-check=full ./test
|
4
test/regression-tests-valgrind.sh
Executable file
4
test/regression-tests-valgrind.sh
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
valgrind --tool=massif ./regression-tests $*
|
||||||
|
valgrind --leak-check=full --suppressions=./valgrind_suppressions.txt ./regression-tests $*
|
4
test/unit-tests-valgrind.sh
Executable file
4
test/unit-tests-valgrind.sh
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
valgrind --tool=massif ./unit-tests $*
|
||||||
|
valgrind --leak-check=full --suppressions=./valgrind_suppressions.txt ./unit-tests $*
|
Loading…
x
Reference in New Issue
Block a user