test: add "skip"

This commit is contained in:
Xuan Son Nguyen
2026-08-15 13:12:17 +02:00
parent 37e7235645
commit 820400abe1
2 changed files with 29 additions and 5 deletions
+1 -2
View File
@@ -2165,8 +2165,7 @@ static void test_template_cpp(testing & t, const std::string & name, const std::
t.log("Actual : " + json(rendered).dump());
}
} catch (const jinja::not_implemented_exception & e) {
// TODO @ngxson : remove this when the test framework supports skipping tests
t.log("Skipped: " + std::string(e.what()));
t.skip(e.what());
}
});
}