Anastasia Klimchuk has uploaded this change for review.
tests: Rename init_shutdown.c into lifecycle.c
Lifecycle tests are getting an upgrade later in this chain, which
means lifecycle becomes more than just init and shutdown. Rename
into lifecycle.c to reflect the upgrade.
BUG=b:181803212
TEST=ninja test
Change-Id: I8d734c43cc15c7ec1055d3fb5bdcdca8c90d0987
Signed-off-by: Anastasia Klimchuk <aklm@chromium.org>
---
R tests/lifecycle.c
M tests/meson.build
M tests/tests.c
M tests/tests.h
4 files changed, 4 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/39/59739/1
diff --git a/tests/init_shutdown.c b/tests/lifecycle.c
similarity index 100%
rename from tests/init_shutdown.c
rename to tests/lifecycle.c
diff --git a/tests/meson.build b/tests/meson.build
index 5bb6ac9..e8e65db 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -20,7 +20,7 @@
'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 a4a312e..9f839a0 100644
--- a/tests/tests.c
+++ b/tests/tests.c
@@ -348,7 +348,7 @@
};
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),
@@ -357,7 +357,7 @@
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 16974af..41d09a9 100644
--- a/tests/tests.h
+++ b/tests/tests.h
@@ -40,7 +40,7 @@
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);
To view, visit change 59739. To unsubscribe, or for help writing mail filters, visit settings.