Add test harness backend flag "compact"
commit9ee4cdd1a9590702e22e1b801ae1fcd383ad21d6
authorOlly Betts <olly@survex.com>
Fri, 26 Jan 2018 00:22:25 +0000 (26 13:22 +1300)
committerOlly Betts <olly@survex.com>
Fri, 26 Jan 2018 01:02:10 +0000 (26 14:02 +1300)
tree40fc0612ec456ac13b97b5a0df7384b68747bbda
parentbedaa9c6a5963fdb3f7c7c8a44befd9d20b034b6
Add test harness backend flag "compact"

This is for backends which support Database::compact().  Previously
we either hardcoded the backend name(s) (e.g. "glass") or relied on
"generated" only currently being supported by backends which support
compaction.
xapian-core/tests/api_compact.cc
xapian-core/tests/harness/testrunner.cc
xapian-core/tests/harness/testrunner.h