| 1 | ### -*-autotest-*- |
| 2 | ### |
| 3 | ### Test script for hashing |
| 4 | ### |
| 5 | ### (c) 2009 Straylight/Edgeware |
| 6 | ### |
| 7 | |
| 8 | ###----- Licensing notice --------------------------------------------------- |
| 9 | ### |
| 10 | ### This file is part of the mLib utilities library. |
| 11 | ### |
| 12 | ### mLib is free software; you can redistribute it and/or modify |
| 13 | ### it under the terms of the GNU Library General Public License as |
| 14 | ### published by the Free Software Foundation; either version 2 of the |
| 15 | ### License, or (at your option) any later version. |
| 16 | ### |
| 17 | ### mLib is distributed in the hope that it will be useful, |
| 18 | ### but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 19 | ### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 20 | ### GNU Library General Public License for more details. |
| 21 | ### |
| 22 | ### You should have received a copy of the GNU Library General Public |
| 23 | ### License along with mLib; if not, write to the Free |
| 24 | ### Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, |
| 25 | ### MA 02111-1307, USA. |
| 26 | |
| 27 | ###-------------------------------------------------------------------------- |
| 28 | ### Tests. |
| 29 | |
| 30 | ## crc32 |
| 31 | AT_SETUP([hash: crc32]) |
| 32 | AT_KEYWORDS([hash crc32]) |
| 33 | |
| 34 | AT_CHECK([BUILDDIR/t/crc32.t -f SRCDIR/t/crc32.tests], |
| 35 | [0], [ignore], [ignore]) |
| 36 | |
| 37 | AT_CLEANUP |
| 38 | |
| 39 | ## unihash |
| 40 | AT_SETUP([hash: unihash]) |
| 41 | AT_KEYWORDS([hash unihash]) |
| 42 | |
| 43 | $PYTHON SRCDIR/t/unihash-testgen.py >unihash.tests |
| 44 | AT_CHECK([BUILDDIR/t/unihash.t -f unihash.tests], |
| 45 | [0], [ignore], [ignore]) |
| 46 | |
| 47 | AT_CLEANUP |
| 48 | |
| 49 | ###----- That's all, folks -------------------------------------------------- |