summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-10-18 17:33:18 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-10-18 17:33:18 (GMT)
commit873c1d3181e5b1c408c093707645cb1e7e566b72 (patch)
tree1d2a665ace4694d11508a906dfa313325e463a95 /test
parentb0eb42058c02bff41cacae11880b4fbf174821db (diff)
downloadhdf5-873c1d3181e5b1c408c093707645cb1e7e566b72.zip
hdf5-873c1d3181e5b1c408c093707645cb1e7e566b72.tar.gz
hdf5-873c1d3181e5b1c408c093707645cb1e7e566b72.tar.bz2
[svn-r14209] Description:
Remove 1.6 compatibility ifdef's which were masking error from querying for info on invalid filter. Tested on: FreeBSD/32 6.2 (duty) in debug mode FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Mac OS X/32 10.4.10 (amazon) in debug mode
Diffstat (limited to 'test')
-rw-r--r--test/dsets.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/dsets.c b/test/dsets.c
index ccfb6ca..0f3b330 100644
--- a/test/dsets.c
+++ b/test/dsets.c
@@ -1822,15 +1822,10 @@ test_get_filter_info(void)
/* Verify that get_filter_info throws an error when given a bad filter */
/* (Depends on 1.6 compatibility flag) */
-#ifdef H5_WANT_H5_V1_6_COMPAT
- if(H5Zget_filter_info(-1, &flags) < 0) TEST_ERROR
- if(flags != 0) TEST_ERROR
-#else /* H5_WANT_H5_V1_6_COMPAT */
H5E_BEGIN_TRY {
err = H5Zget_filter_info(-1, &flags);
} H5E_END_TRY;
if(err >= 0) TEST_ERROR
-#endif /* H5_WANT_H5_V1_6_COMPAT */
PASSED();
return 0;