return TEST_SUCCESS;
}
+static test_return_t number_of_cpus_TEST(void *)
+{
+ test_true(number_of_cpus() >= 1);
+
+ return TEST_SUCCESS;
+}
+
static test_return_t fatal_message_TEST(void *)
{
test_compare(fatal_calls++, fatal::disabled_counter());
{0, 0, 0}
};
+test_st number_of_cpus_TESTS[] ={
+ {"libtest::number_of_cpus()", 0, number_of_cpus_TEST },
+ {0, 0, 0}
+};
+
test_st application_tests[] ={
{"vchar_t", 0, vchar_t_TEST },
{"true", 0, application_true_BINARY },
{"http", check_for_curl, 0, http_tests},
{"get_free_port()", 0, 0, get_free_port_TESTS },
{"fatal", disable_fatal_exception, enable_fatal_exception, fatal_message_TESTS },
+ {"number_of_cpus()", 0, 0, number_of_cpus_TESTS },
{0, 0, 0, 0}
};