### -*-autotest-*- ### ### Test script for utilities ### ### (c) 2009 Straylight/Edgeware ### ###----- Licensing notice --------------------------------------------------- ### ### This file is part of the mLib utilities library. ### ### mLib is free software; you can redistribute it and/or modify ### it under the terms of the GNU Library General Public License as ### published by the Free Software Foundation; either version 2 of the ### License, or (at your option) any later version. ### ### mLib is distributed in the hope that it will be useful, ### but WITHOUT ANY WARRANTY; without even the implied warranty of ### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ### GNU Library General Public License for more details. ### ### You should have received a copy of the GNU Library General Public ### License along with mLib; if not, write to the Free ### Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, ### MA 02111-1307, USA. ###-------------------------------------------------------------------------- ### Tests. ## bits AT_SETUP([utilities: bits]) AT_KEYWORDS([utils bits]) $PYTHON SRCDIR/t/bits-testgen 0xaca98e08 0x0b6e95fb - >bits.tests AT_CHECK([BUILDDIR/t/bits.t -fh bits.tests], [0], [ignore]) AT_CLEANUP ## control AT_SETUP([utilities: control]) AT_KEYWORDS([utils control]) AT_CHECK([BUILDDIR/t/control.t -fm], [0], [ignore]) AT_CLEANUP ## exc AT_SETUP([utilities: exc]) AT_KEYWORDS([utils exc]) AT_DATA([expout], [apple banana cabbage dibble exc type 2 (excession) fennel 65 exception (val = 53) hello! __exc_list = (nil) ]) AT_CHECK([BUILDDIR/t/exc.t], [0], [expout]) AT_CLEANUP ## fltfmt AT_SETUP([utilities: fltfmt]) AT_KEYWORDS([utils fltfmt]) $PYTHON SRCDIR/t/fltfmt-testgen >fltfmt-gen.tests AT_CHECK([BUILDDIR/t/fltfmt.t -fm SRCDIR/t/fltfmt.tests fltfmt-gen.tests], [0], [ignore]) AT_CLEANUP ## versioncmp AT_SETUP([utilities: versioncmp]) AT_KEYWORDS([utils versioncmp]) AT_CHECK([BUILDDIR/t/versioncmp.t -fm SRCDIR/t/versioncmp.tests], [0], [ignore]) AT_CLEANUP ###----- That's all, folks --------------------------------------------------