Jan Dabros | b0800d3 | 2020-05-06 16:01:27 +0200 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Jan Dabros | 2d0ee36 | 2020-04-20 15:19:45 +0200 | [diff] [blame] | 2 | |
Jan Dabros | 2d0ee36 | 2020-04-20 15:19:45 +0200 | [diff] [blame] | 3 | tests-y += string-test |
Anna Karas | 072a9b9 | 2020-06-08 15:16:19 +0200 | [diff] [blame] | 4 | tests-y += b64_decode-test |
Anna Karas | 5664bc8 | 2020-07-02 10:09:47 +0200 | [diff] [blame] | 5 | tests-y += hexstrtobin-test |
Jakub Czapiga | 466a378 | 2020-10-05 10:44:46 +0200 | [diff] [blame] | 6 | tests-y += imd-test |
Jakub Czapiga | e0c60f3 | 2020-10-09 10:07:47 +0200 | [diff] [blame] | 7 | tests-y += timestamp-test |
Jakub Czapiga | e0af9fc | 2020-10-09 16:02:46 +0200 | [diff] [blame] | 8 | tests-y += edid-test |
Jakub Czapiga | f9961ff | 2020-11-16 15:25:34 +0100 | [diff] [blame] | 9 | tests-y += cbmem_console-romstage-test |
| 10 | tests-y += cbmem_console-ramstage-test |
Jakub Czapiga | ea378cc | 2020-11-12 12:10:51 +0100 | [diff] [blame] | 11 | tests-y += list-test |
Jakub Czapiga | dd85c82 | 2020-12-10 11:16:47 +0100 | [diff] [blame] | 12 | tests-y += fmap-test |
Jakub Czapiga | a2b21c2 | 2020-10-08 12:37:40 +0200 | [diff] [blame] | 13 | tests-y += imd_cbmem-romstage-test |
| 14 | tests-y += imd_cbmem-ramstage-test |
Jakub Czapiga | eb6f80d | 2021-01-07 09:24:33 +0100 | [diff] [blame] | 15 | tests-y += region_file-test |
Jakub Czapiga | b3a7c84 | 2021-02-05 15:10:25 +0100 | [diff] [blame] | 16 | tests-y += stack-test |
Jakub Czapiga | 7a940df | 2021-02-15 12:07:10 +0100 | [diff] [blame] | 17 | tests-y += memset-test |
Jakub Czapiga | c4ca8c3 | 2021-02-16 11:13:32 +0100 | [diff] [blame] | 18 | tests-y += memcmp-test |
Jakub Czapiga | cc7acb8 | 2021-02-15 14:21:20 +0100 | [diff] [blame] | 19 | tests-y += memchr-test |
Jakub Czapiga | eb4bb6f | 2021-02-16 13:27:17 +0100 | [diff] [blame] | 20 | tests-y += memcpy-test |
Jakub Czapiga | 7a18721 | 2021-02-15 09:54:03 +0100 | [diff] [blame] | 21 | tests-y += malloc-test |
Jakub Czapiga | f5e636c | 2021-02-19 10:09:42 +0100 | [diff] [blame^] | 22 | tests-y += memmove-test |
Jan Dabros | 2d0ee36 | 2020-04-20 15:19:45 +0200 | [diff] [blame] | 23 | |
| 24 | string-test-srcs += tests/lib/string-test.c |
| 25 | string-test-srcs += src/lib/string.c |
Anna Karas | 072a9b9 | 2020-06-08 15:16:19 +0200 | [diff] [blame] | 26 | |
| 27 | b64_decode-test-srcs += tests/lib/b64_decode-test.c |
Anna Karas | f7cd0d5 | 2020-07-07 16:38:27 +0200 | [diff] [blame] | 28 | b64_decode-test-srcs += tests/stubs/console.c |
Anna Karas | 072a9b9 | 2020-06-08 15:16:19 +0200 | [diff] [blame] | 29 | b64_decode-test-srcs += src/lib/b64_decode.c |
Anna Karas | 5664bc8 | 2020-07-02 10:09:47 +0200 | [diff] [blame] | 30 | |
| 31 | hexstrtobin-test-srcs += tests/lib/hexstrtobin-test.c |
| 32 | hexstrtobin-test-srcs += src/lib/hexstrtobin.c |
Jakub Czapiga | 466a378 | 2020-10-05 10:44:46 +0200 | [diff] [blame] | 33 | |
| 34 | imd-test-srcs += tests/lib/imd-test.c |
| 35 | imd-test-srcs += tests/stubs/console.c |
Jakub Czapiga | e0c60f3 | 2020-10-09 10:07:47 +0200 | [diff] [blame] | 36 | imd-test-srcs += src/lib/imd.c |
| 37 | |
| 38 | timestamp-test-srcs += tests/lib/timestamp-test.c |
| 39 | timestamp-test-srcs += tests/stubs/timestamp.c |
| 40 | timestamp-test-srcs += tests/stubs/console.c |
| 41 | timestamp-test-stage := romstage |
Jakub Czapiga | e0af9fc | 2020-10-09 16:02:46 +0200 | [diff] [blame] | 42 | |
| 43 | edid-test-srcs += tests/lib/edid-test.c |
| 44 | edid-test-srcs += src/lib/edid.c |
| 45 | edid-test-srcs += tests/stubs/console.c |
| 46 | |
Jakub Czapiga | f9961ff | 2020-11-16 15:25:34 +0100 | [diff] [blame] | 47 | cbmem_console-romstage-test-stage := romstage |
| 48 | cbmem_console-romstage-test-srcs += tests/lib/cbmem_console-test.c |
| 49 | cbmem_console-romstage-test-srcs += tests/stubs/console.c |
| 50 | |
| 51 | cbmem_console-ramstage-test-stage := ramstage |
| 52 | cbmem_console-ramstage-test-srcs += tests/lib/cbmem_console-test.c |
Jakub Czapiga | ea378cc | 2020-11-12 12:10:51 +0100 | [diff] [blame] | 53 | cbmem_console-ramstage-test-srcs += tests/stubs/console.c |
| 54 | |
| 55 | list-test-srcs += tests/lib/list-test.c |
| 56 | list-test-srcs += src/lib/list.c |
| 57 | |
Jakub Czapiga | dd85c82 | 2020-12-10 11:16:47 +0100 | [diff] [blame] | 58 | fmap-test-srcs += tests/lib/fmap-test.c |
| 59 | fmap-test-srcs += src/lib/fmap.c |
| 60 | fmap-test-srcs += tests/stubs/console.c |
| 61 | fmap-test-srcs += src/lib/boot_device.c |
| 62 | fmap-test-srcs += src/commonlib/region.c |
| 63 | fmap-test-cflags += -I tests/include/tests/lib/fmap |
| 64 | fmap-test-cflags += -I 3rdparty/vboot/firmware/include |
Jakub Czapiga | a2b21c2 | 2020-10-08 12:37:40 +0200 | [diff] [blame] | 65 | |
| 66 | imd_cbmem-ramstage-test-stage := ramstage |
| 67 | imd_cbmem-ramstage-test-srcs += tests/lib/imd_cbmem-test.c |
| 68 | imd_cbmem-ramstage-test-srcs += tests/stubs/console.c |
| 69 | imd_cbmem-ramstage-test-srcs += src/lib/imd.c |
| 70 | imd_cbmem-ramstage-test-mocks += cbmem_top_chipset |
| 71 | |
| 72 | imd_cbmem-romstage-test-stage := romstage |
| 73 | imd_cbmem-romstage-test-srcs += tests/lib/imd_cbmem-test.c |
| 74 | imd_cbmem-romstage-test-srcs += tests/stubs/console.c |
| 75 | imd_cbmem-romstage-test-srcs += src/lib/imd.c |
| 76 | imd_cbmem-romstage-test-mocks += cbmem_top_chipset |
| 77 | |
Jakub Czapiga | eb6f80d | 2021-01-07 09:24:33 +0100 | [diff] [blame] | 78 | region_file-test-srcs += tests/lib/region_file-test.c |
| 79 | region_file-test-srcs += src/commonlib/region.c |
| 80 | region_file-test-srcs += tests/stubs/console.c |
Jakub Czapiga | b3a7c84 | 2021-02-05 15:10:25 +0100 | [diff] [blame] | 81 | |
| 82 | stack-test-srcs += tests/lib/stack-test.c |
| 83 | stack-test-srcs += src/lib/stack.c |
| 84 | stack-test-srcs += tests/stubs/console.c |
Jakub Czapiga | 7a940df | 2021-02-15 12:07:10 +0100 | [diff] [blame] | 85 | |
| 86 | memset-test-srcs += tests/lib/memset-test.c |
| 87 | memset-test-srcs += src/lib/memset.c |
Jakub Czapiga | c4ca8c3 | 2021-02-16 11:13:32 +0100 | [diff] [blame] | 88 | |
| 89 | memcmp-test-srcs += tests/lib/memcmp-test.c |
| 90 | |
Jakub Czapiga | cc7acb8 | 2021-02-15 14:21:20 +0100 | [diff] [blame] | 91 | memchr-test-srcs += tests/lib/memchr-test.c |
| 92 | memchr-test-srcs += src/lib/memchr.c |
| 93 | |
Jakub Czapiga | eb4bb6f | 2021-02-16 13:27:17 +0100 | [diff] [blame] | 94 | memcpy-test-srcs += tests/lib/memcpy-test.c |
| 95 | |
Jakub Czapiga | 7a18721 | 2021-02-15 09:54:03 +0100 | [diff] [blame] | 96 | malloc-test-srcs += tests/lib/malloc-test.c |
| 97 | malloc-test-srcs += tests/stubs/console.c |
| 98 | |
Jakub Czapiga | f5e636c | 2021-02-19 10:09:42 +0100 | [diff] [blame^] | 99 | memmove-test-srcs += tests/lib/memmove-test.c |
| 100 | |