mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Adds scripts to call the tests using valgrind
This commit is contained in:
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 $*
|
Reference in New Issue
Block a user