mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
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.
12 lines
187 B
Bash
Executable File
12 lines
187 B
Bash
Executable File
#!/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
|