aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Expand)AuthorAgeFilesLines
* tests: Add run_probe_lifecycle and add dummyflasher probe testAnastasia Klimchuk2022-03-203-7/+56
* tests: Rename run_lifecycle into run_basic_lifecycleAnastasia Klimchuk2022-03-103-29/+29
* tests: Rename init_shutdown.c into lifecycle.cAnastasia Klimchuk2022-03-104-4/+4
* tests: Add tests for verify operationAnastasia Klimchuk2022-02-183-0/+100
* tests: Add comprehensive comment for chip.cAnastasia Klimchuk2022-02-141-0/+12
* tests: Set up mock chip memory in consistent and predictable wayAnastasia Klimchuk2022-02-141-0/+2
* tests: add fprintf() mock with redirection to io_mockNikolai Artemiev2022-02-143-0/+16
* tests: Convert write chip tests to libflashrom APIAnastasia Klimchuk2022-01-191-2/+11
* tests: Convert read chip tests to libflashrom APIAnastasia Klimchuk2022-01-191-2/+11
* tests: Convert erase chip tests to libflashrom APIAnastasia Klimchuk2022-01-191-2/+3
* layout: Hoist get_region_range() into libflashrom APIEdward O'Callaghan2022-01-111-1/+1
* hwaccess: move x86 port I/O related code into own filesThomas Heijligen2021-12-221-0/+2
* tests: Add init-shutdown test for raiden_debug_spiAnastasia Klimchuk2021-11-296-5/+208
* tests: Add wraps for __xstat/__fxstat variants of stat/fstatAnastasia Klimchuk2021-11-172-0/+28
* tests: Rename flash context in chip tests to flashctxAnastasia Klimchuk2021-11-081-22/+22
* tests: Add tests to write on chipAnastasia Klimchuk2021-11-084-0/+72
* tests: Fix fread wrap to return success by defaultAnastasia Klimchuk2021-10-191-3/+3
* tests: Add wrap for libusb_init and use it in dediprog testAnastasia Klimchuk2021-10-184-0/+18
* tests: Extract libusb wraps into separate fileAnastasia Klimchuk2021-10-183-46/+64
* tests: Move current_io to io_mock.c be visible across testsAnastasia Klimchuk2021-10-184-41/+66
* tests: Move LOG_ME to include/tests.h to be available everywhereAnastasia Klimchuk2021-10-182-3/+2
* tests: Add NON_ZERO macro and not_null function instead of MOCK_HANDLEAnastasia Klimchuk2021-10-183-13/+23
* tests: Revise mock chip definition and usageAnastasia Klimchuk2021-10-011-117/+60
* tests: Add tests to read from chipAnastasia Klimchuk2021-10-015-0/+146
* tests: Extract setup and teardown for chip testsAnastasia Klimchuk2021-10-011-55/+47
* mec1308: remove MEC1308 EC programmerVictor Ding2021-09-223-46/+0
* ene_lpc: remove ENE LPC programmerVictor Ding2021-09-223-65/+0
* tests: Mock file i/o for linux_mtd and linux_spi testsAnastasia Klimchuk2021-08-305-4/+180
* tests: Add tests to erase a chipAnastasia Klimchuk2021-08-194-0/+237
* tests: Use real spi_send_command for all tests except spi25.cAnastasia Klimchuk2021-08-191-13/+29
* tests: add init_shutdown test for realtek_mst_i2c_spiPeter Marheine2021-08-195-0/+100
* tests: Add init-shutdown test for nicrealtekAnastasia Klimchuk2021-08-095-0/+34
* tests: Add unit tests for layout sanity checksAnastasia Klimchuk2021-07-223-0/+111
* tests: Trim excessive new lines from layout test outputAnastasia Klimchuk2021-07-221-18/+18
* tests: Add layout tests for overlapping regionsAnastasia Klimchuk2021-07-194-0/+116
* tests: Wrap strdup to help cmocka recognise memory allocationAnastasia Klimchuk2021-07-193-1/+17
* dediprog: Init-shutdown test for dediprogAnastasia Klimchuk2021-07-195-3/+111
* tests.c: Move opening brace on new line for function bodyAnastasia Klimchuk2021-07-081-6/+12
* hwaccess_x86_io_unittest: Add dummy iopl to avoid including sys/io.hAnastasia Klimchuk2021-06-261-1/+11
* tests: Do not run a test if its driver is not builtAnastasia Klimchuk2021-06-251-0/+16
* tests: Move test environment header files into tests directoryAnastasia Klimchuk2021-06-222-0/+100
* CONFIG_DEFAULT_PROGRAMMER_NAME: Use programmer name instead of enumThomas Heijligen2021-06-101-2/+0
* programmer_init: use struct programmer_entry*Thomas Heijligen2021-06-101-9/+9
* tests: Add unit test to run init/shutdown for mec1308.c, ene_lpc.cAnastasia Klimchuk2021-06-055-7/+171
* tests: Start port-i/o mocking frameworkNico Huber2021-05-071-0/+49
* tests: Add unit test to run init/shutdown for linux_spi.cAnastasia Klimchuk2021-04-274-0/+62
* tests: Add unit test to run init/shutdown for dummyflasher.cAnastasia Klimchuk2021-04-274-0/+46
* tests: Add logging to STDOUT when __wrap function is calledAnastasia Klimchuk2021-04-271-2/+7
* Enable dynamic memory allocation checks for cmocka unit testsAnastasia Klimchuk2021-04-012-12/+29
* tests: Update licence headersNikolai Artemiev2020-09-177-4/+101