| 1 |
|
| 2 |
|
| 3 |
tests-y += cbfs-lookup-no-fallback-test |
| 4 |
tests-y += cbfs-lookup-has-fallback-test |
| 5 |
tests-y += cbfs-verification-no-sha512-test |
| 6 |
tests-y += cbfs-verification-has-sha512-test |
| 7 |
tests-y += cbfs-no-verification-no-sha512-test |
| 8 |
tests-y += cbfs-no-verification-has-sha512-test |
| 9 |
|
| 10 |
|
| 11 |
cbfs-lookup-no-fallback-test-srcs += tests/libcbfs/cbfs-lookup-test.c |
| 12 |
cbfs-lookup-no-fallback-test-srcs += tests/mocks/cbfs_file_mock.c |
| 13 |
cbfs-lookup-no-fallback-test-config += CONFIG_LP_ENABLE_CBFS_FALLBACK=0 |
| 14 |
cbfs-lookup-no-fallback-test-config += CONFIG_LP_LZ4=1 |
| 15 |
cbfs-lookup-no-fallback-test-config += CONFIG_LP_LZMA=1 |
| 16 |
|
| 17 |
$(call copy-test,cbfs-lookup-no-fallback-test,cbfs-lookup-has-fallback-test) |
| 18 |
cbfs-lookup-has-fallback-test-config += CONFIG_LP_ENABLE_CBFS_FALLBACK=1 |
| 19 |
|
| 20 |
cbfs-verification-no-sha512-test-srcs += tests/libcbfs/cbfs-verification-test.c |
| 21 |
cbfs-verification-no-sha512-test-srcs += tests/mocks/cbfs_file_mock.c |
| 22 |
cbfs-verification-no-sha512-test-config += CONFIG_LP_CBFS_VERIFICATION=1 |
| 23 |
cbfs-verification-no-sha512-test-config += VB2_SUPPORT_SHA512=0 |
| 24 |
|
| 25 |
$(call copy-test,cbfs-verification-no-sha512-test,cbfs-verification-has-sha512-test) |
| 26 |
cbfs-verification-has-sha512-test-config += VB2_SUPPORT_SHA512=1 |
| 27 |
|
| 28 |
$(call copy-test,cbfs-verification-no-sha512-test,cbfs-no-verification-no-sha512-test) |
| 29 |
cbfs-verification-has-sha512-test-config += CONFIG_LP_CBFS_VERIFICATION=0 |
| 30 |
|
| 31 |
$(call copy-test,cbfs-verification-no-sha512-test,cbfs-no-verification-has-sha512-test) |
| 32 |
cbfs-verification-has-sha512-test-config += CONFIG_LP_CBFS_VERIFICATION=0 |
| 33 |
cbfs-verification-has-sha512-test-config += VB2_SUPPORT_SHA512=1 |