Loads the transformations test cases during the unit test

Related to: #1156
This commit is contained in:
Felipe Zimmerle
2016-05-27 11:03:01 -03:00
parent 8d49903279
commit f35d28b8d3
4 changed files with 18 additions and 7 deletions

View File

@@ -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;