summaryrefslogtreecommitdiffstats
path: root/test/H5srcdir.h
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2015-09-06 02:05:27 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2015-09-06 02:05:27 (GMT)
commit67678e9a3f081a5d7e29b654a14b899f4ab50a9b (patch)
tree4b80130895965ed708bdcc5e1d3803ad05cf95a2 /test/H5srcdir.h
parent2b35b265e91dea7157347aa0a631cc35bcabf6c9 (diff)
downloadhdf5-67678e9a3f081a5d7e29b654a14b899f4ab50a9b.zip
hdf5-67678e9a3f081a5d7e29b654a14b899f4ab50a9b.tar.gz
hdf5-67678e9a3f081a5d7e29b654a14b899f4ab50a9b.tar.bz2
[svn-r27685] Merge of r27572 from trunk
Remove all VMS-specific code from the library. The exception is the VMS floating-point tests since those are special as VMS floats are odd. Those files will be considered separately. Fixes HDFFV-9495 Tested on: h5committest
Diffstat (limited to 'test/H5srcdir.h')
-rw-r--r--test/H5srcdir.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/test/H5srcdir.h b/test/H5srcdir.h
index 4f0f439..81624d8 100644
--- a/test/H5srcdir.h
+++ b/test/H5srcdir.h
@@ -32,11 +32,7 @@ static char srcdir_path[1024] = "";
static char srcdir_testpath[1024] = "";
/* Append the test file name to the srcdir path and return the whole string */
-#ifdef H5_VMS
-static const char *H5_get_srcdir_filename(char *filename)
-#else
static const char *H5_get_srcdir_filename(const char *filename)
-#endif
{
const char *srcdir = HDgetenv("srcdir");
@@ -46,19 +42,7 @@ static const char *H5_get_srcdir_filename(const char *filename)
/* Build path to test file */
if((HDstrlen(srcdir) + HDstrlen(filename) + 2) < sizeof(srcdir_testpath)) {
-#ifdef H5_VMS
- HDstrcpy(srcdir_testpath, srcdir);
- if(filename[0] == '[') {
- char *tmp = filename;
-
- srcdir_testpath[HDstrlen(srcdir) - 1] = '\0';
- HDstrcat(srcdir_testpath, ++tmp);
- } /* end if */
- else
- HDstrcat(srcdir_testpath, filename);
-#else
HDsnprintf(srcdir_testpath, sizeof(srcdir_testpath), "%s/%s", srcdir, filename);
-#endif
return(srcdir_testpath);
} /* end if */
else