summaryrefslogtreecommitdiffstats
path: root/c++
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2001-03-28 02:37:28 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2001-03-28 02:37:28 (GMT)
commit81f61d5cb52ac7b0c413e9c2a3386e8c12406e4b (patch)
treea052d50b09e49080867ed5feccd86736a120e810 /c++
parentfcc5355744bf1a8dcba71417a80a9c920ed7edb3 (diff)
downloadhdf5-81f61d5cb52ac7b0c413e9c2a3386e8c12406e4b.zip
hdf5-81f61d5cb52ac7b0c413e9c2a3386e8c12406e4b.tar.gz
hdf5-81f61d5cb52ac7b0c413e9c2a3386e8c12406e4b.tar.bz2
[svn-r3726]
Purpose: Problem suppressing Description: The dsets.cpp/compression (write) test failed on eirene for 1.4 branch. I suspected that the problem had something to do with the word size (32 vs. 64), but I'm not sure. Elena and Quincey agreed that we take the test out for now since we don't have a fix for it at this time. Solution: Used #if defined (__linux__) to temporarily disable the test_compression test for this platform. Platforms tested: arabica (solaris 2.7) eirene (linux 6.2)
Diffstat (limited to 'c++')
-rw-r--r--c++/test/dsets.cpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/c++/test/dsets.cpp b/c++/test/dsets.cpp
index c48cd7e..e8ece6a 100644
--- a/c++/test/dsets.cpp
+++ b/c++/test/dsets.cpp
@@ -12,6 +12,7 @@
*
*************************************************************/
+#include <stdlib.h> // for getenv() to temporary fix problem on linux
#include <iostream>
#include "H5Cpp.h"
#include "h5test.h"
@@ -1068,7 +1069,18 @@ main(void)
nerrors += test_create(file)<0 ?1:0;
nerrors += test_simple_io(file)<0 ?1:0;
nerrors += test_tconv(file)<0 ?1:0;
- nerrors += test_compression(file)<0 ?1:0;
+
+ /**** Temporarily disable compresion (write) on Linux ****/
+ /* A call to HDmemcpy by H5Dwrite in this test failed because of
+ * some kind of type conversion. Currently, there is no known
+ * way to fix it, so we disable the entire test for Linux.
+ * Note that the hdf5 1.5 branch doesn't fail, however.
+ * BMR - Mar 27, 01
+ */
+#if !defined (__linux__)
+ nerrors += test_compression(file)<0 ?1:0;
+#endif
+
nerrors += test_multiopen (file)<0 ?1:0;
nerrors += test_types(file)<0 ?1:0;