mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 12:28:09 +01:00
perf-test: unpack tags.
There is only one set of tags, independant of the size of message corpus chosen.
This commit is contained in:
parent
5f8e376912
commit
5c35791d7c
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue