diff options
-rw-r--r-- | tests/lifecycle.c (renamed from tests/init_shutdown.c) | 0 | ||||
-rw-r--r-- | tests/meson.build | 2 | ||||
-rw-r--r-- | tests/tests.c | 4 | ||||
-rw-r--r-- | tests/tests.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/init_shutdown.c b/tests/lifecycle.c index 2a8d6f5e..2a8d6f5e 100644 --- a/tests/init_shutdown.c +++ b/tests/lifecycle.c diff --git a/tests/meson.build b/tests/meson.build index 2f0fc67a..610d1c61 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -20,7 +20,7 @@ srcs = [ 'helpers.c', 'flashrom.c', 'spi25.c', - 'init_shutdown.c', + 'lifecycle.c', 'layout.c', 'chip.c', ] diff --git a/tests/tests.c b/tests/tests.c index 1dda4670..74a4f57c 100644 --- a/tests/tests.c +++ b/tests/tests.c @@ -362,7 +362,7 @@ int main(void) }; ret |= cmocka_run_group_tests_name("spi25.c tests", spi25_tests, NULL, NULL); - const struct CMUnitTest init_shutdown_tests[] = { + const struct CMUnitTest lifecycle_tests[] = { cmocka_unit_test(dummy_init_and_shutdown_test_success), cmocka_unit_test(nicrealtek_init_and_shutdown_test_success), cmocka_unit_test(raiden_debug_init_and_shutdown_test_success), @@ -371,7 +371,7 @@ int main(void) cmocka_unit_test(linux_spi_init_and_shutdown_test_success), cmocka_unit_test(realtek_mst_init_and_shutdown_test_success), }; - ret |= cmocka_run_group_tests_name("init_shutdown.c tests", init_shutdown_tests, NULL, NULL); + ret |= cmocka_run_group_tests_name("lifecycle.c tests", lifecycle_tests, NULL, NULL); const struct CMUnitTest layout_tests[] = { cmocka_unit_test(included_regions_dont_overlap_test_success), diff --git a/tests/tests.h b/tests/tests.h index f1b4e9b2..5480beb2 100644 --- a/tests/tests.h +++ b/tests/tests.h @@ -40,7 +40,7 @@ void probe_spi_res3_test_success(void **state); void probe_spi_at25f_test_success(void **state); void probe_spi_st95_test_success(void **state); /* spi95.c */ -/* init_shutdown.c */ +/* lifecycle.c */ void dummy_init_and_shutdown_test_success(void **state); void nicrealtek_init_and_shutdown_test_success(void **state); void raiden_debug_init_and_shutdown_test_success(void **state); |