Add files to support Autotest-based test suites.
[cfd] / testsuite.at
diff --git a/testsuite.at b/testsuite.at
new file mode 100644 (file)
index 0000000..2122f5f
--- /dev/null
@@ -0,0 +1,37 @@
+dnl -*-autotest-*-
+dnl
+dnl Generic test framework
+dnl
+dnl (c) 2008 Straylight/Edgeware
+dnl
+
+dnl----- Licensing notice ---------------------------------------------------
+dnl
+dnl This file is part of the Common Files Distribution (`common').
+dnl
+dnl `Common' is free software; you can redistribute it and/or modify
+dnl it under the terms of the GNU General Public License as published by
+dnl the Free Software Foundation; either version 2 of the License, or
+dnl (at your option) any later version.
+dnl
+dnl `Common' is distributed in the hope that it will be useful,
+dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+dnl GNU General Public License for more details.
+dnl
+dnl You should have received a copy of the GNU General Public License
+dnl along with `common'; if not, write to the Free Software Foundation,
+dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+AT_INIT
+
+m4_define([TESTS], [dnl
+  m4_pushdef([SRCDIR], [$abs_srcdir/$1])
+  m4_pushdef([BUILDDIR], [$abs_builddir/$1])
+  m4_include([$1/$2])
+  m4_popdef([BUILDDIR])
+  m4_popdef([SRCDIR])
+])
+m4_include([tests.m4])
+
+dnl----- That's all, folks --------------------------------------------------