2 #define BOOST_TEST_ALTERNATIVE_INIT_API 4 #define BOOST_TEST_NO_MAIN 5 #include "boost/test/unit_test.hpp" 16 int app_return_val =
artapp(framework::master_test_suite().argc,
17 framework::master_test_suite().argv,
19 BOOST_REQUIRE_EQUAL(app_return_val, 0);
26 auto ts = BOOST_TEST_SUITE(
"art_ut");
27 ts->add(BOOST_TEST_CASE(&
art_ut));
28 framework::master_test_suite().add(ts);
33 main(
int argc,
char* argv[])
35 char const* cmp =
"-c";
36 char to[] =
"--config";
37 for (
int i = 0; i < argc; ++i) {
38 if (strncmp(cmp, argv[i], 2) == 0) {
int main(int argc, char *argv[])
int artapp(int argc, char *argv[], bool report_unused)
bool init_unit_test_suite()