[Patch v2 09/11] perf-test: unpack tags.
david at tethera.net
david at tethera.net
Wed Dec 5 19:01:46 PST 2012
From: David Bremner <bremner at debian.org>
There is only one set of tags, independant of the size of message
corpus chosen.
---
performance-test/perf-test-lib.sh | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/performance-test/perf-test-lib.sh b/performance-test/perf-test-lib.sh
index 0f9796d..ca08026 100644
--- a/performance-test/perf-test-lib.sh
+++ b/performance-test/perf-test-lib.sh
@@ -56,7 +56,13 @@ add_email_corpus ()
esac
MAIL_CORPUS="${TEST_DIRECTORY}/corpus/$mail_subdir"
+ TAG_CORPUS="${TEST_DIRECTORY}/corpus/tags"
+
args=()
+ if [ ! -d "$TAG_CORPUS" ] ; then
+ args+=("notmuch-email-corpus/tags")
+ fi
+
if [ ! -d "$check_for" ] ; then
args+=("notmuch-email-corpus/$mail_subdir")
fi
@@ -81,6 +87,7 @@ add_email_corpus ()
fi
+ cp -lr $TAG_CORPUS $TMP_DIRECTORY/corpus.tags
cp -lr $MAIL_CORPUS $MAIL_DIR
if [ -d $DB_CACHE_DIR ]; then
--
1.7.10.4
More information about the notmuch
mailing list