summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/source/bootstrapfixture.cxx11
1 files changed, 10 insertions, 1 deletions
diff --git a/test/source/bootstrapfixture.cxx b/test/source/bootstrapfixture.cxx
index f274dbce571f..c28615dc7719 100644
--- a/test/source/bootstrapfixture.cxx
+++ b/test/source/bootstrapfixture.cxx
@@ -173,10 +173,19 @@ void test::BootstrapFixture::validate(const OUString& rPath, test::ValidationFor
{
var = "OFFICEOTRON";
}
- else
+ else if ( eFormat == test::ODF )
{
var = "ODFVALIDATOR";
}
+ else if ( eFormat == test::MSBINARY )
+ {
+#if HAVE_BFFVALIDATOR
+ var = "BFFVALIDATOR";
+#else
+ // Binary Format Validator is disabled
+ return;
+#endif
+ }
OUString aValidator;
oslProcessError e = osl_getEnvironment(var.pData, &aValidator.pData);
CPPUNIT_ASSERT_EQUAL_MESSAGE(