aboutgitcodelistschat:MatrixIRC
path: root/tests/unit/test_errors.c
Commit message (Collapse)AuthorAgeFilesLines
* test: fix test-error-checkAlice Frosi2023-07-141-76/+59
| | | | The error-check tests recompile and pass.
* treewide: Change to GPLv2, add LICENSES, missing headersStefano Brivio2023-06-041-1/+1
| | | | | | As discussed with Alice -- 'reuse lint' passes now. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
* test: fix compilation and adjust changesAlice Frosi2023-05-191-24/+30
|
* Add missing license header to tests/unit/test_errors.cAlice Frosi2023-05-111-0/+5
|
* Clean-up error message and testAlice Frosi2023-05-111-0/+50
| | | | | | | | Refactoring error messages: - standardize error messages and functions - return on error instead of exit - test error when target doesn't exist - include ability to capture stderr and stdout in the tests
* seitan: add check for limits to op_cmpAlice Frosi2023-05-101-1/+30
| | | | Adding the offset limits checks and unit tests.
* Refactoring of gluten_read/writeAlice Frosi2023-05-101-14/+24
| | | | | | | | Refactor includes: - use static inline instead of macro - return -1 if there is an error and don't exit - eval return 0 or -1 - adjust code and tests
* gluten: check limitsAlice Frosi2023-05-091-0/+118
Add bounds checking: - if offset is larger then the maximum per offset type - if memcpy is reading/writing inside gluten