mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 14:33:18 +02:00
tests: Add unit test for initialisation with NULL programmer param
Programmer param can be NULL and this is a valid case which can be covered by unit test. `run_lifecycle` needs an adjustment to handle NULL as programmer param, which is also included in the patch. Change-Id: I409f1c9ac832943e54107f7cf8652d1f46ac67df Signed-off-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/67642 Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-by: Felix Singer <felixsinger@posteo.net> Reviewed-by: Thomas Heijligen <src@posteo.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:

committed by
Edward O'Callaghan

parent
5d05a2811e
commit
5363f35fa0
@ -48,6 +48,7 @@ void dummy_probe_variable_size_test_success(void **state);
|
||||
void dummy_init_fails_unhandled_param_test_success(void **state);
|
||||
void dummy_init_success_invalid_param_test_success(void **state);
|
||||
void dummy_init_success_unhandled_param_test_success(void **state);
|
||||
void dummy_null_prog_param_test_success(void **state);
|
||||
void nicrealtek_basic_lifecycle_test_success(void **state);
|
||||
void raiden_debug_basic_lifecycle_test_success(void **state);
|
||||
void dediprog_basic_lifecycle_test_success(void **state);
|
||||
|
Reference in New Issue
Block a user