summaryrefslogtreecommitdiff
path: root/common/tests/test-compat.c
Commit message (Collapse)AuthorAgeFilesLines
* Our own unit testing frameworkStef Walter2013-05-211-20/+8
| | | | | | | | * Support the TAP protocol * Much cleaner without having to carry around state * First class support for setup/teardown * Port the common tests * Wait on porting other tests until we've merged outstanding code
* More compatible path munging and handling codeStef Walter2013-04-031-32/+0
| | | | | | | | | | Centralize the path handling code, so we can remove unixy assumptions and have a chance of running on Windows. The current goal is to run all the tests on Windows. Includes some code from LRN <lrn1986@gmail.com> https://bugs.freedesktop.org/show_bug.cgi?id=63062
* Fix invalid memory accesses reported by 'make memcheck'Stef Walter2013-03-201-0/+16
| | | | These are things that showed up in valgrind while running the tests.
* trust: Don't use POSIX or GNU basename()Stef Walter2013-03-191-0/+93
Both are nasty. Do our own, and test it a bit https://bugs.freedesktop.org/show_bug.cgi?id=62479