aboutsummaryrefslogtreecommitdiff
path: root/src/ext/tinytest.c
AgeCommit message (Collapse)Author
2016-06-11Add -Wmissing-variable-declarations, with attendant fixesNick Mathewson
This is a big-ish patch, but it's very straightforward. Under this clang warning, we're not actually allowed to have a global variable without a previous extern declaration for it. The cases where we violated this rule fall into three roughly equal groups: * Stuff that should have been static. * Stuff that was global but where the extern was local to some other C file. * Stuff that was only global when built for the unit tests, that needed a conditional extern in the headers. The first two were IMO genuine problems; the last is a wart of how we build tests.
2015-02-17Have tinytest tolerate systems where char has > 8 bytesNick Mathewson
CID 1064418
2014-04-19scan-build: truncate tinytest hexified outputs to 1024 bytes.Nick Mathewson
scan-build didn't like the unlimited version since we might need to overflow size_t to hexify a string that took up half our address space. (!)
2014-03-06Upgrade to the latest version of tinytest.Nick Mathewson
This brings us to tinytest commit 709a36ba63ff16d8. The only big change tor-side is that we don't need our own test_mem_op operation any longer.
2012-10-11Move all externally maintained source files into src/extNick Mathewson
The rationale for treating these files differently is that we should be checking upstream for changes as applicable, and merging changes upstream as warranted.