summaryrefslogtreecommitdiff
path: root/unix/coverage.c
AgeCommit message (Collapse)Author
2017-07-04py/repl: Change mp_uint_t to size_t in repl helpers.Damien George
2017-06-30tests/unix/extra_coverage: Add test for mp_vprintf with bad fmt spec.Damien George
2017-03-20unix/coverage: Enable scheduler and add tests for it.Damien George
2017-03-14tests: Improve binary.c test coverage.Rami Ali
2017-01-16unix/coverage: Move coverage #if guard back to top of file.Damien George
2017-01-16tests: Improve stream.c test coverage.Rami Ali
2017-01-05tests/unix: Improve formatfloat.c test coverage using C.Rami Ali
2017-01-05tests: Improve warning.c test coverage.Rami Ali
2016-12-29tests/unix: Improve runtime_utils.c test coverage.Rami Ali
2016-10-14py/vstr: Combine vstr_new_size with vstr_new since they are rarely used.Damien George
Now there is just one function to allocate a new vstr, namely vstr_new (in addition to vstr_init etc). The caller of this function should know what initial size to allocate for the buffer, or at least have some policy or config option, instead of leaving it to a default (as it was before).
2016-09-02tests/unix/extra_coverage: Add test for str/bytes with invalid hash.Damien George
2016-09-01py/mpprint: Fail an assertion with unsupported format specifiers.Delio Brignoli
Arguments of an unknown type cannot be skipped and continuing to parse a format string after encountering an unknown format specifier leads to undefined behaviour. This patch helps to find use of unsupported formats.
2016-02-01py/mpprint: Fix sign extension when printf'ing %u, %x and %X.Damien George
2015-10-15unix: Fix coverage build now that mp_plat_print uses write.Damien George
2015-10-01tests: Add further tests for mpz code.Damien George
2015-09-03tests: Add tests to improve coverage of objstr.c.Damien George
2015-05-28tests: Add special tests to test mp_printf function to improve coverage.Damien George
2015-05-12unix: Add some extra coverage tests for vstr and attrtuple.Damien George
2015-05-08unix: Make extra-coverage function callable from Python scripts.Damien George
This allows the output of the extra-coverage tests to be checked using the normal run-tests script.
2015-05-08unix: Add special function to improve coverage.Damien George
The function and corresponding command-line option are only enabled for the coverage build. They are used to exercise uPy features that can't be properly tested by Python scripts.