summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* Don't rely on loading order for duplicate modulesStef Walter2012-07-261-1/+6
| | | | | | | | * We had relied on module 'two' loading before 'two-duplicate' in the conf tests. However this isn't always the case, and the name of the module can end up as 'two-duplicate' https://bugzilla.gnome.org/show_bug.cgi?id=44740
* Preconditions to check for input probs and out of memoryStef Walter2012-05-131-1/+2
| | | | | | * We don't try to guarantee completely robust and problem free behavior in cases where the caller or process isn't behaving. We consider these to be outside of our control.
* Use gcc extensions to check varargs during compileStef Walter2012-05-131-0/+1
| | | | | * Add macros GNUC_PRINTF and GNUC_NULL_TERMINATED to check correct printf and NULL terminated style varargs
* Add tests for enable-in and disable-inStef Walter2012-04-021-1/+3
|
* Build some test modules for testing main p11-kit functionalityStef Walter2012-04-021-4/+28
| | | | * And put together a test for duplicate modules
* Add enable-in and disable-in options to module configStef Walter2012-04-011-0/+2
| | | | | | | | * These can be used to load certain modules in certain programs, or prevent loading in others. * Useful for a key manager like seahorse, so we can load extra modules (think NSS) that other modules shouldn't load.
* Compile CuTest.c separately.Andreas Metzler2011-12-231-1/+9
| | | | | Use regular compile and link instead of having #include "CuTest.c" in every test. Works around gcc optimization issue.
* Run tests correctly in automakeAndreas Metzler2011-12-091-4/+1
| | | | * This allows failing tests to stop the build
* Initial port to win32Stef Walter2011-10-171-8/+8
| | | | | | | | * Tests do not all yet pass, at least not on wine * Added abstraction of some non-portable functions in compat.h/c * Build with an argument like this for win32 support: ./autogen.sh --host=i586-mingw32msvc * This win32 port needs more work from interested parties
* Combine initialization testsStef Walter2011-10-101-10/+4
|
* Don't allow recursive calling of C_Initialize on a given module.Stef Walter2011-10-101-2/+8
|
* Rename p11-kit testStef Walter2011-10-101-3/+3
|
* Add test tool to print out error messagesStef Walter2011-09-261-1/+2
| | | | * Allows checking of translations
* Fix endless loop if module forks during initialization.Stef Walter2011-08-141-20/+10
| | | | | | | * If a module forks during its C_Initialize, previously our fork handler would try to initialize it again, ad nauseum. Reported by Nikos on the mailing list.
* Fix building with NLS enabled.Roman Bogorodskiy2011-07-291-6/+11
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=39622
* Implement support for registering and calling pinfile callbacksStef Walter2011-07-061-1/+11
| | | | | | * These are callbacks that hanlde the pinfile part of a PKCS#11 URI. * One library can register a callback that another can then call in a thread-safe and simple fashion.
* Store last failure message per thread.Stef Walter2011-06-091-1/+2
| | | | * Add p11_kit_message() function to get last message.
* Remove unstable API markers.Stef Walter2011-06-071-2/+1
|
* Fix problems with 'make distcheck'Stef Walter2011-05-271-2/+6
|
* Add C++ header guards, and require API instability acknowledgement.Stef Walter2011-03-311-1/+2
|
* Documentation and API cleanup.Stef Walter2011-03-311-4/+4
| | | | | | * Rename source directory * More consistent with return values from URI functions. * Allow formatting URI to take a uri type.
* Reference implementation of PKCS#11 URIsStef Walter2011-02-191-1/+6
|
* Configuration tests.Stef Walter2011-01-301-5/+8
|
* Add testing and start testing hash table functionality.Stef Walter2011-01-261-0/+17