mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-29 07:53:44 +02:00
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> Reviewed-on: https://review.coreboot.org/c/flashrom/+/59739 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Thomas Heijligen <src@posteo.de> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
This commit is contained in:
parent
4bee25671e
commit
fd36978f1a
@ -20,7 +20,7 @@ srcs = [
|
||||
'helpers.c',
|
||||
'flashrom.c',
|
||||
'spi25.c',
|
||||
'init_shutdown.c',
|
||||
'lifecycle.c',
|
||||
'layout.c',
|
||||
'chip.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),
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user