diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2008-01-10 16:44:11 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2008-01-10 16:44:11 (GMT) |
commit | dee56944a1a3030abd8454449aa58719bbb0c6e9 (patch) | |
tree | e9e7ca1120c89389233312d047c8205d68e7461a /test | |
parent | 7aea0cf8d14f927aa3f6a3f17f1b1d7bbce1a996 (diff) | |
download | hdf5-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.c | 6 |
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); } |