Skip to content

Commit

Permalink
Adds resource info while running the unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Felipe Zimmerle committed Aug 20, 2017
1 parent 3d09eb9 commit de5b3e5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/unit/unit.cc
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,11 @@ int main(int argc, char **argv) {
std::cout << test.header();
}

std::cout << "Using resources:" << std::endl;
for (auto &i : resources) {
std::cout << " " << i;
}
std::cout << std::endl << std::endl;
test.load_tests();
if (test.target == default_test_path) {
test.load_tests("test-cases/secrules-language-tests/transformations");
Expand Down

0 comments on commit de5b3e5

Please sign in to comment.