diff options
Diffstat (limited to 'test/ttsafe.c')
-rw-r--r-- | test/ttsafe.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/ttsafe.c b/test/ttsafe.c index 2865a1b..8d95d3e 100644 --- a/test/ttsafe.c +++ b/test/ttsafe.c @@ -199,7 +199,11 @@ int main(int argc, char *argv[]) * automatic error reporting wouldn't do much good since it's * triggered at the API layer. */ +#ifdef H5_WANT_H5_V1_6_COMPAT + H5Eset_auto (NULL, NULL); +#else /*H5_WANT_H5_V1_6_COMPAT*/ H5Eset_auto (H5E_DEFAULT, NULL, NULL); +#endif /* H5_WANT_H5_V1_6_COMPAT */ /* Tests are generally arranged from least to most complexity... */ InitTest("dcreate", tts_dcreate, cleanup_dcreate, |