Infrastructure: Switch testing over to Autotest.
[mLib] / t / Makefile.am
diff --git a/t/Makefile.am b/t/Makefile.am
new file mode 100644 (file)
index 0000000..617af72
--- /dev/null
@@ -0,0 +1,48 @@
+### -*-makefile-*-
+###
+### Build script for test infrastructure
+###
+### (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.
+
+include autotest.am
+
+autotest_TESTS          =
+
+###--------------------------------------------------------------------------
+### Make sure everything is built.
+
+check-local: check-build
+check-build:
+       $(MAKE) -C $(top_builddir) all
+.PHONY: check-build
+
+###--------------------------------------------------------------------------
+### Test directories.
+
+autotest_TESTS         += $(top_srcdir)/codec/tests.at
+autotest_TESTS         += $(top_srcdir)/hash/tests.at
+autotest_TESTS         += $(top_srcdir)/struct/tests.at
+autotest_TESTS         += $(top_srcdir)/sys/tests.at
+autotest_TESTS         += $(top_srcdir)/utils/tests.at
+
+###----- That's all, folks --------------------------------------------------