test/README.txt
author us@chu.huenfield.org
Tue, 25 Dec 2018 14:46:45 +0100
branchsync
changeset 3209 c15b4ca2b52a
parent 2676 074bceee15b7
permissions -rw-r--r--
Replace use of Sequoia's backend with a custom key store.

- Sequoia's key store doesn't meet pep's needs (in particular, the
ability to search on a key's user id) and trying to shoehorn pep's
needs onto Sequoia's key store abstractions is just introducing
overhead with no appreciable gain in functionality.

- This patch changes the Sequoia backend to use a local sqlite
database to store the public keys.
     1 DOCUMENTATION AND CLEANUP FORTHCOMING.
     2 
     3 Engine tests now require libcpptest - if you have compilation failures using your distribution's lib (I'm looking at you, Ubuntu), please download the source at http://cpptest.sourceforge.net/, compile, and run.
     4 
     5 New test creation requires python 3.x.
     6 
     7 Notes:
     8 
     9 - TEST_ASSERT is a macro and does not always behave 100% the way you'd expect. Note the following:
    10 	* 1. If used in if/else blocks, make sure the blocks are guarded, or weird things happen.
    11         * 2. If performing comparisons, please parenthesise liberally - bitwise operations being compared to 0 should always be parenthesised before comparison