Open and unlink valgrind log before option parsing
commit07449a7bea8e8733fd49c5afbc922955e43df42f
authorOlly Betts <olly@survex.com>
Fri, 8 Sep 2017 02:48:01 +0000 (8 14:48 +1200)
committerOlly Betts <olly@survex.com>
Fri, 8 Sep 2017 02:48:01 +0000 (8 14:48 +1200)
treec35a5b37da96b2734e2348d4f9ffafb54dc0373c
parent5fb92c6253b19f17f981108f2bdf30f91968970b
Open and unlink valgrind log before option parsing

This means we no longer leave a log file behind if there's an error
in option parsing, or for options like --help which report and exit.
xapian-core/tests/harness/testsuite.cc