mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Loads the transformations test cases during the unit test
Related to: #1156
This commit is contained in:
@@ -85,6 +85,9 @@ int main(int argc, char **argv) {
|
||||
std::cout << test.header();
|
||||
|
||||
test.load_tests();
|
||||
if (test.target == default_test_path) {
|
||||
test.load_tests("test-cases/secrules-language-tests/transformations");
|
||||
}
|
||||
|
||||
for (std::pair<std::string, std::vector<UnitTest *> *> a : test) {
|
||||
std::vector<UnitTest *> *tests = a.second;
|
||||
|
Reference in New Issue
Block a user