summaryrefslogtreecommitdiffstats
path: root/test/tfile.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2003-05-05 22:04:14 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2003-05-05 22:04:14 (GMT)
commit1d06baa334bffeabf4aaa7ff7cccf73be514d7b1 (patch)
tree4ae563dec7665a57c142084801ab94edeb299118 /test/tfile.c
parent117444cc2547ea3a4c7b8cb5042c4c186283edc5 (diff)
downloadhdf5-1d06baa334bffeabf4aaa7ff7cccf73be514d7b1.zip
hdf5-1d06baa334bffeabf4aaa7ff7cccf73be514d7b1.tar.gz
hdf5-1d06baa334bffeabf4aaa7ff7cccf73be514d7b1.tar.bz2
[svn-r6798] Purpose:
code warrior port Description: added a flag H5_NO_SHARED_WRITING, it is defined only for CW in the H5pubconf.h this avoids doing some tests for CW that fail on shared writing Solution: Platforms tested: windows (cw and ms) Linux 2.4 (rockaway) SunOS 5.7 (arabica) IRIX 6.5 (modi4) Misc. update:
Diffstat (limited to 'test/tfile.c')
-rw-r--r--test/tfile.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/tfile.c b/test/tfile.c
index cac159a..1629057 100644
--- a/test/tfile.c
+++ b/test/tfile.c
@@ -915,14 +915,18 @@ test_obj_count_and_id(hid_t fid1, hid_t fid2, hid_t did, hid_t gid1,
void
test_file(void)
{
+#ifndef H5_NO_SHARED_WRITING
+
/* Output message about test being performed */
MESSAGE(5, ("Testing Low-Level File I/O\n"));
test_file_create(); /* Test file creation(also creation templates)*/
test_file_open(); /* Test file opening */
test_file_close(); /* Test file close behavior */
+#endif /* H5_NO_SHARED_WRITING */
} /* test_file() */
+
/*-------------------------------------------------------------------------
* Function: cleanup_file