mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-03 06:53:18 +02:00
tests: Add unit tests for layout sanity checks
Three more tests in this patch where layout does / does not pass sanity checks. BUG=b:193584590 TEST=ninja test Change-Id: Ia21585d60443b2741f3868d7887476090e35f79b Signed-off-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/56440 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:

committed by
Edward O'Callaghan

parent
242c9bc3ec
commit
e2c8ecf6e0
@ -240,6 +240,9 @@ int main(void)
|
||||
cmocka_unit_test(included_regions_dont_overlap_test_success),
|
||||
cmocka_unit_test(included_regions_overlap_test_success),
|
||||
cmocka_unit_test(region_not_included_overlap_test_success),
|
||||
cmocka_unit_test(layout_pass_sanity_checks_test_success),
|
||||
cmocka_unit_test(layout_region_invalid_address_test_success),
|
||||
cmocka_unit_test(layout_region_invalid_range_test_success),
|
||||
};
|
||||
ret |= cmocka_run_group_tests_name("layout.c tests", layout_tests, NULL, NULL);
|
||||
|
||||
|
Reference in New Issue
Block a user