Skip to content

Commit 6810925

Browse files
authored
Use SKIP() in mongocxx::spec::run_tests_in_suite (#1226)
1 parent 2d3d3f1 commit 6810925

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/mongocxx/test/spec/util.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -593,10 +593,10 @@ void run_tests_in_suite(std::string ev, test_runner cb, std::set<std::string> un
593593
while (std::getline(test_files, test_file)) {
594594
DYNAMIC_SECTION(test_file) {
595595
if (unsupported_tests.find(test_file) != unsupported_tests.end()) {
596-
WARN("Skipping unsupported test file: " << test_file);
597-
} else {
598-
cb(path + "/" + test_file);
596+
SKIP("Skipping unsupported test file: " << test_file);
599597
}
598+
599+
cb(path + "/" + test_file);
600600
}
601601
}
602602
}

0 commit comments

Comments
 (0)