mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 11:16:33 +03:00
Adds support to make check
The regression and unit tests are now integrated with `make check`. It is possible to use make check -jN to have multiple tests running in parallel.
This commit is contained in:
11
test/test-suite.sh
Executable file
11
test/test-suite.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
TEST=$1 1> /dev/null
|
||||
cd test 1> /dev/null
|
||||
if [[ $TEST == *"test-cases/regression/"* ]]
|
||||
then
|
||||
./regression_tests ../$*
|
||||
else
|
||||
./unit_tests ../$*
|
||||
fi
|
||||
cd - 1> /dev/null
|
Reference in New Issue
Block a user