projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f8e376
)
perf-test: unpack tags.
author
David Bremner
<bremner@debian.org>
Tue, 4 Dec 2012 02:59:56 +0000
(22:59 -0400)
committer
David Bremner
<bremner@debian.org>
Sat, 15 Dec 2012 12:17:58 +0000
(08:17 -0400)
There is only one set of tags, independant of the size of message
corpus chosen.
performance-test/perf-test-lib.sh
patch
|
blob
|
history
diff --git
a/performance-test/perf-test-lib.sh
b/performance-test/perf-test-lib.sh
index 564b688476db3d9db68beced9f77b1aaeaae9aac..3a7ef2b35999506e7b3c47b0511ed94f9f0d4f4e 100644
(file)
--- 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
}