1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-08-15 19:40:19 +02:00

tests: Add tests which run a chain of operations

The main purpose is to run one operation after the other to
check that data is carried in flash context correctly.

As the most common chains, the first tests perform:
probe+read
probe+write
probe+erase

Change-Id: I9b09e04c7dbee7e7658118d66aacb640885f4d23
Signed-off-by: Anastasia Klimchuk <aklm@flashrom.org>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/88257
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Anastasia Klimchuk
2025-06-30 15:16:03 +10:00
parent 44df54b5e4
commit 7e38723877
3 changed files with 123 additions and 0 deletions

View File

@@ -515,6 +515,9 @@ int main(int argc, char *argv[])
cmocka_unit_test(dummy_null_prog_param_test_success),
cmocka_unit_test(dummy_all_buses_test_success),
cmocka_unit_test(dummy_freq_param_init),
cmocka_unit_test(dummy_probe_and_read),
cmocka_unit_test(dummy_probe_and_write),
cmocka_unit_test(dummy_probe_and_erase),
cmocka_unit_test(nicrealtek_basic_lifecycle_test_success),
cmocka_unit_test(raiden_debug_basic_lifecycle_test_success),
cmocka_unit_test(raiden_debug_targetAP_basic_lifecycle_test_success),