chiark / gitweb /
@@@ fltfmt mess
[mLib] / utils / tests.at
CommitLineData
7cf5c72a
MW
1### -*-autotest-*-
2###
3### Test script for utilities
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## bits
31AT_SETUP([utilities: bits])
32AT_KEYWORDS([utils bits])
c81c35df 33$PYTHON SRCDIR/t/bits-testgen 0xaca98e08 0x0b6e95fb - >bits.tests
3efcfd2d 34AT_CHECK([BUILDDIR/t/bits.t -fh bits.tests], [0], [ignore])
7cf5c72a
MW
35AT_CLEANUP
36
e6591bec
MW
37## control
38AT_SETUP([utilities: control])
39AT_KEYWORDS([utils control])
b1a20bee 40AT_CHECK([BUILDDIR/t/control.t -fm], [0], [ignore])
e6591bec
MW
41AT_CLEANUP
42
7cf5c72a
MW
43## exc
44AT_SETUP([utilities: exc])
45AT_KEYWORDS([utils exc])
46AT_DATA([expout],
47[apple
48banana
49cabbage
50dibble
51exc type 2 (excession)
52fennel
5365 exception (val = 53)
54hello! __exc_list = (nil)
55])
56AT_CHECK([BUILDDIR/t/exc.t], [0], [expout])
57AT_CLEANUP
58
b1a20bee
MW
59## fltfmt
60AT_SETUP([utilities: fltfmt])
61AT_KEYWORDS([utils fltfmt])
62$PYTHON SRCDIR/t/fltfmt-testgen >fltfmt-gen.tests
63AT_CHECK([BUILDDIR/t/fltfmt.t -fm SRCDIR/t/fltfmt.tests fltfmt-gen.tests],
64 [0], [ignore])
65AT_CLEANUP
66
7cf5c72a
MW
67## versioncmp
68AT_SETUP([utilities: versioncmp])
69AT_KEYWORDS([utils versioncmp])
b1a20bee 70AT_CHECK([BUILDDIR/t/versioncmp.t -fm SRCDIR/t/versioncmp.tests],
3efcfd2d 71 [0], [ignore])
7cf5c72a
MW
72AT_CLEANUP
73
74###----- That's all, folks --------------------------------------------------