mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 10:58:10 +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
|
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
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue