summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2008-01-10 16:44:11 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2008-01-10 16:44:11 (GMT)
commitdee56944a1a3030abd8454449aa58719bbb0c6e9 (patch)
treee9e7ca1120c89389233312d047c8205d68e7461a /test
parent7aea0cf8d14f927aa3f6a3f17f1b1d7bbce1a996 (diff)
downloadhdf5-dee56944a1a3030abd8454449aa58719bbb0c6e9.zip
hdf5-dee56944a1a3030abd8454449aa58719bbb0c6e9.tar.gz
hdf5-dee56944a1a3030abd8454449aa58719bbb0c6e9.tar.bz2
[svn-r14392] Changed the way that file name string is represented because it caused a failure for PGI
compilers. Tested on smirom with PGI compiler. Simple change.
Diffstat (limited to 'test')
-rw-r--r--test/tcoords.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/tcoords.c b/test/tcoords.c
index 42417b6..17aa52f 100644
--- a/test/tcoords.c
+++ b/test/tcoords.c
@@ -27,6 +27,8 @@
#include "testhdf5.h"
+#define FILENAME "coord.h5"
+
/***********************************************************
**
** test_single_end(): Test full hyperslab selection of only
@@ -473,7 +475,7 @@ void test_coords(void)
hid_t fid;
herr_t ret; /* Generic error return */
- fid = H5Fcreate("coord.h5", H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
+ fid = H5Fcreate(FILENAME, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
CHECK(fid, FAIL, "H5Fcreate");
test_single_end(fid);
@@ -501,5 +503,5 @@ void test_coords(void)
void
cleanup_coords(void)
{
- remove("coord.h5");
+ remove(FILENAME);
}