From 5c35791d7cf7279024befc98e9d973af461336a3 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Mon, 3 Dec 2012 22:59:56 -0400 Subject: [PATCH] perf-test: unpack tags. 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 564b6884..3a7ef2b3 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 }