[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 3/4] added c_api tests to the testsuite
From: |
William Hubbs |
Subject: |
[PATCH 3/4] added c_api tests to the testsuite |
Date: |
Mon, 27 Sep 2010 15:57:19 -0500 |
From: Andrei Kholodnyi <address@hidden>
To: address@hidden
clibrary, clibrary2 and long_message tests were added to the testsuite
---
src/tests/Makefile.am | 2 +-
src/tests/c_api.at | 36 ++++++++++++++++++++++++++++++++++++
src/tests/testsuite.at | 1 +
3 files changed, 38 insertions(+), 1 deletions(-)
create mode 100644 src/tests/c_api.at
diff --git a/src/tests/Makefile.am b/src/tests/Makefile.am
index cbc8328..824808e 100644
--- a/src/tests/Makefile.am
+++ b/src/tests/Makefile.am
@@ -25,7 +25,7 @@ atconfig: $(top_builddir)/config.status
AUTOM4TE = autom4te
AUTOTEST = $(AUTOM4TE) --language=autotest
-TESTSUITE_AT =
+TESTSUITE_AT = c_api.at
TESTSUITE = ./testsuite
$(TESTSUITE): package.m4 testsuite.at $(TESTSUITE_AT)
$(AUTOTEST) -I '$(srcdir)' -o address@hidden address@hidden
diff --git a/src/tests/c_api.at b/src/tests/c_api.at
new file mode 100644
index 0000000..bb38dde
--- /dev/null
+++ b/src/tests/c_api.at
@@ -0,0 +1,36 @@
+# c_api.at - libspeechd library tests
+#
+# Copyright (C) 2010 Andrei Kholodnyi <andrei.kholodnyi at gmail.com>
+#
+# This is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# This software 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
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this package; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+# Boston, MA 02110-1301, USA.
+
+AT_BANNER([C API])
+
+AT_SETUP([c_api])
+
+AT_KEYWORDS([clibrary])
+AT_CHECK([${abs_builddir}/clibrary], [0], [ignore])
+
+AT_KEYWORDS([clibrary2])
+AT_CHECK([${abs_builddir}/clibrary2], [0], [ignore])
+
+#AT_KEYWORDS([connection-recovery])
+#AT_CHECK([${abs_builddir}/connection-recovery], [0], [ignore])
+
+AT_KEYWORDS([long_message])
+AT_CHECK([${abs_builddir}/long_message], [0], [ignore])
+
+AT_CLEANUP
diff --git a/src/tests/testsuite.at b/src/tests/testsuite.at
index dc669ad..b156286 100644
--- a/src/tests/testsuite.at
+++ b/src/tests/testsuite.at
@@ -20,3 +20,4 @@
AT_INIT
AT_COPYRIGHT([Copyright (C) 2010 Andrei Kholodnyi <andrei.kholodnyi at
gmail.com>])
+m4_include([c_api.at])
--
1.7.2.2
[PATCH 3/4] added c_api tests to the testsuite,
William Hubbs <=
[PATCH 4/4] fix copyright assignment, William Hubbs, 2010/09/27