algorithms.c (AEADAAD.copy): Propagate the hashed length to the copy.
[catacomb-python] / setup.py
index bb6d2e1..d778177 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@
 import distutils.core as DC
 import mdwsetup as MS
 
-MS.pkg_config('catacomb', '2.4.2-70')
+MS.pkg_config('catacomb', '2.5.0')
 MS.pkg_config('mLib', '2.2.2.1')
 
 cat = DC.Extension('catacomb._base',
@@ -26,4 +26,9 @@ MS.setup(name = 'catacomb-python',
          scripts = ['pock', 'pwsafe'],
          data_files = [('share/man/man1', ['pock.1', 'pwsafe.1'])],
          genfiles = [MS.Generate('algorithms.h')],
+         unittest_dir = "t",
+         unittests = ["t-misc", "t-algorithms", "t-bytes", "t-buffer",
+                      "t-convert", "t-ec", "t-field", "t-group", "t-key",
+                      "t-mp", "t-passphrase", "t-pgen", "t-pubkey",
+                      "t-rand", "t-rat", "t-share"],
          ext_modules = [cat])