summaryrefslogtreecommitdiff
path: root/tests/lib/cbmem_console-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/cbmem_console-test.c')
-rw-r--r--tests/lib/cbmem_console-test.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/lib/cbmem_console-test.c b/tests/lib/cbmem_console-test.c
index 604ca7a77b..fca84a7bd4 100644
--- a/tests/lib/cbmem_console-test.c
+++ b/tests/lib/cbmem_console-test.c
@@ -118,12 +118,6 @@ void test_cbmemc_tx_byte_overflow(void **state)
int main(void)
{
-#if ENV_ROMSTAGE_OR_BEFORE
- const char *test_name = "cbmem_console-test-romstage";
-#else
- const char *test_name = "cbmem_console-test-ramstage";
-#endif
-
const struct CMUnitTest tests[] = {
cmocka_unit_test_teardown(test_cbmemc_init, teardown_cbmemc),
cmocka_unit_test_setup_teardown(test_cbmemc_tx_byte,
@@ -132,5 +126,5 @@ int main(void)
setup_cbmemc, teardown_cbmemc),
};
- return cmocka_run_group_tests_name(test_name, tests, NULL, NULL);
+ return cb_run_group_tests(tests, NULL, NULL);
}