perf-test: unpack tags.

There is only one set of tags, independant of the size of message
corpus chosen.
This commit is contained in:
David Bremner 2012-12-03 22:59:56 -04:00
parent 5f8e376912
commit 5c35791d7c

View file

@ -56,7 +56,13 @@ add_email_corpus ()
esac esac
MAIL_CORPUS="${TEST_DIRECTORY}/corpus/$mail_subdir" MAIL_CORPUS="${TEST_DIRECTORY}/corpus/$mail_subdir"
TAG_CORPUS="${TEST_DIRECTORY}/corpus/tags"
args=() args=()
if [ ! -d "$TAG_CORPUS" ] ; then
args+=("notmuch-email-corpus/tags")
fi
if [ ! -d "$check_for" ] ; then if [ ! -d "$check_for" ] ; then
args+=("notmuch-email-corpus/$mail_subdir") args+=("notmuch-email-corpus/$mail_subdir")
fi fi
@ -81,6 +87,7 @@ add_email_corpus ()
fi fi
cp -lr $TAG_CORPUS $TMP_DIRECTORY/corpus.tags
cp -lr $MAIL_CORPUS $MAIL_DIR cp -lr $MAIL_CORPUS $MAIL_DIR
} }