summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Expand)AuthorAgeFilesLines
* writeprotect: Add function to get register values and WP bit masksNikolai Artemiev2023-03-033-0/+67
* tests: add bus coverage test for dummyAlexander Goncharov2023-02-093-0/+21
* tests/: Assert on NULL heap allocations in testsEdward O'Callaghan2023-01-224-0/+13
* tests/lifecycle.c: Avoid unnecessary heap allocationsEdward O'Callaghan2023-01-221-10/+3
* tests/chip{_wp}.c: Avoid unnecessary heap allocationsEdward O'Callaghan2023-01-222-23/+11
* tests: Fix warnings for 32-bit LinuxAnastasia Klimchuk2023-01-181-2/+2
* tests/chip: Add non-aligned write within a region unit-testEdward O'Callaghan2023-01-173-0/+93
* tests/chip.c: Set MOCK_CHIP_CONTENT non-ambiguouslyEdward O'Callaghan2023-01-151-1/+1
* tests/selfcheck.c: Fix on non-x86 machinesEdward O'Callaghan2022-12-151-1/+1
* tests: Add llvm-cov option and run target for code coverageEvan Benn2022-12-111-1/+5
* tests: Detect llvm coverage run and redirect to real I/O functionsEvan Benn2022-12-093-1/+20
* tests: Detect gcov run and redirect to real I/O functionsEvan Benn2022-12-091-0/+2
* tests: Redirect to real I/O to support coverage runEvan Benn2022-12-094-0/+91
* tests: Add fwrite and fdopen to io_mockEvan Benn2022-12-092-0/+6
* tests: Mock the mode_t variant of openEvan Benn2022-12-094-17/+35
* tests: Move test.h includeEvan Benn2022-12-082-1/+2
* tests: Add selfcheck to unit testsEvan Benn2022-12-054-0/+172
* tests: add probe lifecycle test for ch341a_spiAlexander Goncharov2022-11-293-3/+47
* tests: add basic lifecycle test for ch341a_spiAlexander Goncharov2022-11-294-1/+97
* tests: add mocks for libusb's asynchronous APIAlexander Goncharov2022-11-292-0/+12
* tests: add more wrappers for libusb funcsAlexander Goncharov2022-11-294-0/+66
* tests: Move SKIP_TEST macro to common headerEvan Benn2022-11-282-3/+3
* tests: ensure chip erase operation is executedNikolai Artemiev2022-11-131-0/+9
* meson: Move programmer test sources into programmer definitionFelix Singer2022-11-111-9/+4
* tree/: Convert flashchip erase_block func ptr to enumerateEdward O'Callaghan2022-11-111-1/+6
* tree/: Convert flashchips db to use indirection for erase_blockEdward O'Callaghan2022-11-112-10/+10
* tree/: Rename ERROR_FATAL to ERROR_FLASHROM_FATALEdward O'Callaghan2022-11-091-2/+2
* tests: Add prefix to io_mock functions not to clash with macrosAnastasia Klimchuk2022-11-088-43/+43
* tests: Undefine _FORTIFY_SOURCE for unit tests to avoid _chk variantsAnastasia Klimchuk2022-11-072-18/+1
* tests/meson.build: Rename list of source files to `test_srcs`1.3.x_infdevFelix Singer2022-11-011-3/+3
* tree/: Convert flashchip read func ptr to enumerateEdward O'Callaghan2022-11-012-3/+8
* tree/: Convert flashchip write func ptr to enumerateEdward O'Callaghan2022-11-013-4/+10
* tree/: Convert flashchip probe func ptr to enumerateEdward O'Callaghan2022-11-011-1/+1
* tree/: Convert flashchip decode range func ptr to enumNikolai Artemiev2022-10-281-1/+1
* tests/meson.build: Turn file list into list of file objectsFelix Singer2022-10-151-2/+2
* tests: Add unit test for initialisation with NULL programmer paramAnastasia Klimchuk2022-09-204-1/+18
* tests/parade_lspcon.c: Replace spaces with tabsAnastasia Klimchuk2022-09-201-10/+10
* tests: Add workaround to allow tests mock fileno on FreeBSDAnastasia Klimchuk2022-09-161-0/+11
* tests: Guard Linux-specific linux/spidev.h header fileAnastasia Klimchuk2022-09-121-0/+2
* tests: Use MOCK_FD instead of NON_ZERO for file operationsAnastasia Klimchuk2022-09-121-2/+2
* meson: Refactor the programmer selectionThomas Heijligen2022-09-121-0/+4
* Revert "cmocka: Drop as meson subproject"Nico Huber2022-09-081-1/+1
* tests: Add wrappers for libusb_(attach|detach)_kernel_driverThomas Heijligen2022-09-073-0/+16
* tree: Fix drivers to pass programmer_cfg to pcidev_init()Edward O'Callaghan2022-09-072-2/+4
* tests: Add tests to cover unhandled programmer params pathsAnastasia Klimchuk2022-09-043-0/+64
* tests/lifecycle: Run shutdown for init error pathsAnastasia Klimchuk2022-09-041-0/+11
* tests/parade_lspcon.c: Add emulation for ioctl, read, write operationsAnastasia Klimchuk2022-09-041-0/+86
* cmocka: Drop as meson subprojectThomas Heijligen2022-08-171-1/+1
* tests/realtek_mst_i2c_spi.c: Fix macro closing commentFelix Singer2022-08-101-1/+1
* tests: Test allow_brick is required for i2c programmers initAnastasia Klimchuk2022-08-105-0/+54