summaryrefslogtreecommitdiff
path: root/tests/hash-test.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix broken hashmap behaviorStef Walter2012-03-271-2/+0
| | | | | | | * We were relying on undefined gcc behavior related to the & operator. * This would show up as a test failure when running with -O2 on certain GCC versions, as well as failure on clang 3.1
* Compile CuTest.c separately.Andreas Metzler2011-12-231-2/+0
| | | | | Use regular compile and link instead of having #include "CuTest.c" in every test. Works around gcc optimization issue.
* Reorganize tests, work around optimization bugStef Walter2011-12-201-23/+22
| | | | | | | | * Encountered a gcc optimization bug in gcc 4.6.1 which seems to be reordering related function calls eroneously. This bug seems to be fixed in 4.6.2. * Reorganize test code to get around this bug building on mingw, and ubuntu 11.10, both of which use gcc 4.6.1
* Rename non-static functions to have a _p11_xxx prefix.Stef Walter2011-10-241-81/+81
| | | | | | | * Work around issues with brain-dead linkers not respecting the libtool -export-symbol-regex argument https://bugs.freedesktop.org/show_bug.cgi?id=42020
* Reimplement and remove apache licensed bits of code.Stef Walter2011-07-271-79/+79
| | | | | | | | | | * Reimplement the various bits of the hash table that were still based on the apache apr code. Use different algorithms for hashing, lookup and other stuff. * Use this as an opportunity to cleanup that code and make it more legible. https://bugzilla.redhat.com/show_bug.cgi?id=725905
* Fix some hash leaks and bugs.Stef Walter2011-06-071-2/+37
|
* Add testing and start testing hash table functionality.Stef Walter2011-01-261-0/+377