aboutsummaryrefslogtreecommitdiff
path: root/test/test-databases
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2020-07-07 07:56:47 -0300
committerDavid Bremner <david@tethera.net>2020-07-11 17:20:09 -0300
commitee897cab8b7210ae0c9098f278e38ee355c2ef3d (patch)
tree40948762858ba82500bb45c5fbfa6abd853c878d /test/test-databases
parentb90d852a2fb377d5b7db4ab2ac389964f8c0c3b3 (diff)
test: drop upgrade from v1 tests
These are less crucial since we stopped generating new database versions and relied primarily on features. They also rely on a pre-generated v1 database which happens to be chert format. This backend is not supported by Xapian 1.5. Also drop the tool gen-testdb.sh, which is currently broken, due to changes in the testing infrastructure.
Diffstat (limited to 'test/test-databases')
-rw-r--r--test/test-databases/.gitignore1
-rw-r--r--test/test-databases/Makefile7
-rw-r--r--test/test-databases/Makefile.local20
-rw-r--r--test/test-databases/database-v1.tar.xz.sha2561
4 files changed, 0 insertions, 29 deletions
diff --git a/test/test-databases/.gitignore b/test/test-databases/.gitignore
deleted file mode 100644
index 9452199f..00000000
--- a/test/test-databases/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/*.tar.xz
diff --git a/test/test-databases/Makefile b/test/test-databases/Makefile
deleted file mode 100644
index b250a8be..00000000
--- a/test/test-databases/Makefile
+++ /dev/null
@@ -1,7 +0,0 @@
-# See Makefile.local for the list of files to be compiled in this
-# directory.
-all:
- $(MAKE) -C ../.. all
-
-.DEFAULT:
- $(MAKE) -C ../.. $@
diff --git a/test/test-databases/Makefile.local b/test/test-databases/Makefile.local
deleted file mode 100644
index 7aedff70..00000000
--- a/test/test-databases/Makefile.local
+++ /dev/null
@@ -1,20 +0,0 @@
-# -*- makefile -*-
-
-TEST_DATABASE_MIRROR=https://notmuchmail.org/releases/test-databases
-
-dir := test/test-databases
-
-test_databases := $(dir)/database-v1.tar.xz
-
-%.tar.xz:
- @exec 1>&2 ;\
- if command -v wget >/dev/null ;\
- then set -x; wget -nv -O $@ ${TEST_DATABASE_MIRROR}/$(notdir $@) ;\
- elif command -v curl >/dev/null ;\
- then set -x; curl -L -s -o $@ ${TEST_DATABASE_MIRROR}/$(notdir $@) ;\
- else echo Cannot fetch databases, no wget nor curl available; exit 1 ;\
- fi
-
-download-test-databases: ${test_databases}
-
-DATACLEAN := $(DATACLEAN) ${test_databases}
diff --git a/test/test-databases/database-v1.tar.xz.sha256 b/test/test-databases/database-v1.tar.xz.sha256
deleted file mode 100644
index 2cc4f965..00000000
--- a/test/test-databases/database-v1.tar.xz.sha256
+++ /dev/null
@@ -1 +0,0 @@
-4299e051b10e1fa7b33ea2862790a09ebfe96859681804e5251e130f800e69d2 database-v1.tar.xz