| Commit message (Expand) | Author | Age | Files | Lines |
* | tests: add bus coverage test for dummy | Alexander Goncharov | 2023-02-09 | 3 | -0/+21 |
* | tests/: Assert on NULL heap allocations in tests | Edward O'Callaghan | 2023-01-22 | 4 | -0/+13 |
* | tests/lifecycle.c: Avoid unnecessary heap allocations | Edward O'Callaghan | 2023-01-22 | 1 | -10/+3 |
* | tests/chip{_wp}.c: Avoid unnecessary heap allocations | Edward O'Callaghan | 2023-01-22 | 2 | -23/+11 |
* | tests: Fix warnings for 32-bit Linux | Anastasia Klimchuk | 2023-01-18 | 1 | -2/+2 |
* | tests/chip: Add non-aligned write within a region unit-test | Edward O'Callaghan | 2023-01-17 | 3 | -0/+93 |
* | tests/chip.c: Set MOCK_CHIP_CONTENT non-ambiguously | Edward O'Callaghan | 2023-01-15 | 1 | -1/+1 |
* | tests/selfcheck.c: Fix on non-x86 machines | Edward O'Callaghan | 2022-12-15 | 1 | -1/+1 |
* | tests: Add llvm-cov option and run target for code coverage | Evan Benn | 2022-12-11 | 1 | -1/+5 |
* | tests: Detect llvm coverage run and redirect to real I/O functions | Evan Benn | 2022-12-09 | 3 | -1/+20 |
* | tests: Detect gcov run and redirect to real I/O functions | Evan Benn | 2022-12-09 | 1 | -0/+2 |
* | tests: Redirect to real I/O to support coverage run | Evan Benn | 2022-12-09 | 4 | -0/+91 |
* | tests: Add fwrite and fdopen to io_mock | Evan Benn | 2022-12-09 | 2 | -0/+6 |
* | tests: Mock the mode_t variant of open | Evan Benn | 2022-12-09 | 4 | -17/+35 |
* | tests: Move test.h include | Evan Benn | 2022-12-08 | 2 | -1/+2 |
* | tests: Add selfcheck to unit tests | Evan Benn | 2022-12-05 | 4 | -0/+172 |
* | tests: add probe lifecycle test for ch341a_spi | Alexander Goncharov | 2022-11-29 | 3 | -3/+47 |
* | tests: add basic lifecycle test for ch341a_spi | Alexander Goncharov | 2022-11-29 | 4 | -1/+97 |
* | tests: add mocks for libusb's asynchronous API | Alexander Goncharov | 2022-11-29 | 2 | -0/+12 |
* | tests: add more wrappers for libusb funcs | Alexander Goncharov | 2022-11-29 | 4 | -0/+66 |
* | tests: Move SKIP_TEST macro to common header | Evan Benn | 2022-11-28 | 2 | -3/+3 |
* | tests: ensure chip erase operation is executed | Nikolai Artemiev | 2022-11-13 | 1 | -0/+9 |
* | meson: Move programmer test sources into programmer definition | Felix Singer | 2022-11-11 | 1 | -9/+4 |
* | tree/: Convert flashchip erase_block func ptr to enumerate | Edward O'Callaghan | 2022-11-11 | 1 | -1/+6 |
* | tree/: Convert flashchips db to use indirection for erase_block | Edward O'Callaghan | 2022-11-11 | 2 | -10/+10 |
* | tree/: Rename ERROR_FATAL to ERROR_FLASHROM_FATAL | Edward O'Callaghan | 2022-11-09 | 1 | -2/+2 |
* | tests: Add prefix to io_mock functions not to clash with macros | Anastasia Klimchuk | 2022-11-08 | 8 | -43/+43 |
* | tests: Undefine _FORTIFY_SOURCE for unit tests to avoid _chk variants | Anastasia Klimchuk | 2022-11-07 | 2 | -18/+1 |
* | tests/meson.build: Rename list of source files to `test_srcs` | Felix Singer | 2022-11-01 | 1 | -3/+3 |
* | tree/: Convert flashchip read func ptr to enumerate | Edward O'Callaghan | 2022-11-01 | 2 | -3/+8 |
* | tree/: Convert flashchip write func ptr to enumerate | Edward O'Callaghan | 2022-11-01 | 3 | -4/+10 |
* | tree/: Convert flashchip probe func ptr to enumerate | Edward O'Callaghan | 2022-11-01 | 1 | -1/+1 |
* | tree/: Convert flashchip decode range func ptr to enum | Nikolai Artemiev | 2022-10-28 | 1 | -1/+1 |
* | tests/meson.build: Turn file list into list of file objects | Felix Singer | 2022-10-15 | 1 | -2/+2 |
* | tests: Add unit test for initialisation with NULL programmer param | Anastasia Klimchuk | 2022-09-20 | 4 | -1/+18 |
* | tests/parade_lspcon.c: Replace spaces with tabs | Anastasia Klimchuk | 2022-09-20 | 1 | -10/+10 |
* | tests: Add workaround to allow tests mock fileno on FreeBSD | Anastasia Klimchuk | 2022-09-16 | 1 | -0/+11 |
* | tests: Guard Linux-specific linux/spidev.h header file | Anastasia Klimchuk | 2022-09-12 | 1 | -0/+2 |
* | tests: Use MOCK_FD instead of NON_ZERO for file operations | Anastasia Klimchuk | 2022-09-12 | 1 | -2/+2 |
* | meson: Refactor the programmer selection | Thomas Heijligen | 2022-09-12 | 1 | -0/+4 |
* | Revert "cmocka: Drop as meson subproject" | Nico Huber | 2022-09-08 | 1 | -1/+1 |
* | tests: Add wrappers for libusb_(attach|detach)_kernel_driver | Thomas Heijligen | 2022-09-07 | 3 | -0/+16 |
* | tree: Fix drivers to pass programmer_cfg to pcidev_init() | Edward O'Callaghan | 2022-09-07 | 2 | -2/+4 |
* | tests: Add tests to cover unhandled programmer params paths | Anastasia Klimchuk | 2022-09-04 | 3 | -0/+64 |
* | tests/lifecycle: Run shutdown for init error paths | Anastasia Klimchuk | 2022-09-04 | 1 | -0/+11 |
* | tests/parade_lspcon.c: Add emulation for ioctl, read, write operations | Anastasia Klimchuk | 2022-09-04 | 1 | -0/+86 |
* | cmocka: Drop as meson subproject | Thomas Heijligen | 2022-08-17 | 1 | -1/+1 |
* | tests/realtek_mst_i2c_spi.c: Fix macro closing comment | Felix Singer | 2022-08-10 | 1 | -1/+1 |
* | tests: Test allow_brick is required for i2c programmers init | Anastasia Klimchuk | 2022-08-10 | 5 | -0/+54 |
* | tests: Add function to test programmer init error paths | Anastasia Klimchuk | 2022-08-10 | 2 | -0/+21 |