changeset 223:6f0e4a8ebb0f

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 29 Nov 2012 18:07:50 +0100
parents bd934af46ba4
children 4eb0c7ce86c9
files UnitTests/FileStorage.cpp
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/UnitTests/FileStorage.cpp	Thu Nov 29 18:03:37 2012 +0100
+++ b/UnitTests/FileStorage.cpp	Thu Nov 29 18:07:50 2012 +0100
@@ -129,6 +129,9 @@
   accessor.Read(r, compressedId);
   ASSERT_NE(compressedData, r);
   
+#if defined(__linux)
+  // This tests is too slow on Windows
   accessor.SetCompressionForNextOperations(CompressionType_Zlib);
   ASSERT_THROW(accessor.Read(r, uncompressedId), OrthancException);
+#endif
 }