summaryrefslogtreecommitdiffabout
path: root/tests
authorSergey Poznyakoff <gray@gnu.org.ua>2011-08-08 09:21:17 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2011-08-08 09:21:17 (GMT)
commit20bd97cc472f04e785863dd03123d5f6cfc9f4c4 (patch) (side-by-side diff)
tree9da625f2255159fcff9389202a35f1e3dba1aa24 /tests
parent9729480d24aa61f6d426f6134eac2b7562452da6 (diff)
downloadgdbm-20bd97cc472f04e785863dd03123d5f6cfc9f4c4.tar.gz
gdbm-20bd97cc472f04e785863dd03123d5f6cfc9f4c4.tar.bz2
Provide test group descriptors in the testsuite.
* tests/atlocal.in (XFAILFILE): Remove. * tests/version.at: Don't create XFAILFILE. * tests/testsuite.at: Add test group banners * tests/dbmcreate00.at (AT_SETUP): Change description. * tests/dbmdel00.at: Likewise. * tests/dbmdel01.at: Likewise. * tests/dbmdel02.at: Likewise. * tests/dbmfetch00.at: Likewise. * tests/dbmfetch01.at: Likewise.
Diffstat (limited to 'tests') (more/less context) (ignore whitespace changes)
-rw-r--r--tests/atlocal.in3
-rw-r--r--tests/dbmcreate00.at2
-rw-r--r--tests/dbmdel00.at2
-rw-r--r--tests/dbmdel01.at2
-rw-r--r--tests/dbmdel02.at2
-rw-r--r--tests/dbmfetch00.at2
-rw-r--r--tests/dbmfetch01.at2
-rw-r--r--tests/testsuite.at4
-rw-r--r--tests/version.at11
9 files changed, 11 insertions, 19 deletions
diff --git a/tests/atlocal.in b/tests/atlocal.in
index 5f5f1a1..8dc31d1 100644
--- a/tests/atlocal.in
+++ b/tests/atlocal.in
@@ -16,12 +16,9 @@
PATH=@abs_top_builddir@/src:$PATH
-XFAILFILE=$abs_builddir/.badversion
-
@COMPAT_OPT_TRUE@COMPAT=1
@COMPAT_OPT_FALSE@COMPAT=0
-trap "cleanup; test -r $XFAILFILE && cat $XFAILFILE; exit $?" 1 2 13 15
diff --git a/tests/dbmcreate00.at b/tests/dbmcreate00.at
index 157bd35..f813061 100644
--- a/tests/dbmcreate00.at
+++ b/tests/dbmcreate00.at
@@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with GDBM. If not, see <http://www.gnu.org/licenses/>. */
-AT_SETUP([create database: dbm interface])
+AT_SETUP([create database])
AT_KEYWORDS([dbm create create00 dbmcreate00])
AT_CHECK([
diff --git a/tests/dbmdel00.at b/tests/dbmdel00.at
index 8ff08dc..8f76648 100644
--- a/tests/dbmdel00.at
+++ b/tests/dbmdel00.at
@@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with GDBM. If not, see <http://www.gnu.org/licenses/>. */
-AT_SETUP([delete a record (dbm)])
+AT_SETUP([delete a record])
AT_KEYWORDS([dbm delete delete00 dbmdel00])
AT_CHECK([
diff --git a/tests/dbmdel01.at b/tests/dbmdel01.at
index 1b537a1..e0b8f20 100644
--- a/tests/dbmdel01.at
+++ b/tests/dbmdel01.at
@@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with GDBM. If not, see <http://www.gnu.org/licenses/>. */
-AT_SETUP([delete (dbm): non existing record])
+AT_SETUP([delete: non existing record])
AT_KEYWORDS([dbm delete delete01 dbmdel01])
AT_CHECK([
diff --git a/tests/dbmdel02.at b/tests/dbmdel02.at
index 9b08974..79e5ef6 100644
--- a/tests/dbmdel02.at
+++ b/tests/dbmdel02.at
@@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with GDBM. If not, see <http://www.gnu.org/licenses/>. */
-AT_SETUP([delete (dbm): all records])
+AT_SETUP([delete: all records])
AT_KEYWORDS([dbm delete delete02 dbmdel02])
AT_CHECK([
diff --git a/tests/dbmfetch00.at b/tests/dbmfetch00.at
index 3ed4623..2eb3279 100644
--- a/tests/dbmfetch00.at
+++ b/tests/dbmfetch00.at
@@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with GDBM. If not, see <http://www.gnu.org/licenses/>. */
-AT_SETUP([fetch a record (dbm)])
+AT_SETUP([fetch a record])
AT_KEYWORDS([dbm fetch fetch00 dbmfetch00])
AT_CHECK([
diff --git a/tests/dbmfetch01.at b/tests/dbmfetch01.at
index b94d774..ce74a16 100644
--- a/tests/dbmfetch01.at
+++ b/tests/dbmfetch01.at
@@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with GDBM. If not, see <http://www.gnu.org/licenses/>. */
-AT_SETUP([fetch (dbm): nonexisting record])
+AT_SETUP([fetch: nonexisting record])
AT_KEYWORDS([dbm fetch fetch01 dbmfetch01])
AT_CHECK([
diff --git a/tests/testsuite.at b/tests/testsuite.at
index 0fee45e..c2f9260 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -32,6 +32,8 @@ dnl # Begin tests
AT_INIT
m4_include([version.at])
+AT_BANNER([GDBM interface])
+
m4_include([create00.at])
m4_include([fetch00.at])
@@ -41,6 +43,8 @@ m4_include([delete00.at])
m4_include([delete01.at])
m4_include([delete02.at])
+AT_BANNER([Compatibility library (dbm/ndbm)])
+
m4_include([dbmcreate00.at])
m4_include([dbmfetch00.at])
diff --git a/tests/version.at b/tests/version.at
index 8cfac2b..8959d75 100644
--- a/tests/version.at
+++ b/tests/version.at
@@ -20,15 +20,6 @@ AT_CHECK([gtver -lib -full -header -full],
[0],
[AT_PACKAGE_VERSION_MAJOR.AT_PACKAGE_VERSION_MINOR.AT_PACKAGE_VERSION_PATCH
AT_PACKAGE_VERSION_MAJOR.AT_PACKAGE_VERSION_MINOR.AT_PACKAGE_VERSION_PATCH
-],
-[],
-[cat >$[]XFAILFILE <<'_EOT'
-
-==============================================================
-WARNING: Not using the proper version, *all* checks dubious...
-==============================================================
-_EOT
-],
-[rm -f $[]XFAILFILE])
+])
AT_CLEANUP

Return to:

Send suggestions and report system problems to the System administrator.