[svn-r20237] Interrim checking of AIO VFD mods.

Finished a reasonably complete set of tests for AIO on sec2, and extended these tests
to the core, stdio, family and multi file drivers.  Note that the multi file
driver has some test code specific to it.  Also added tests for the new fsync
VFD call.

Code has been tested successfully on Phoenix (Debian AMD_64) serial and parallel,
Jam (32 bit linux) heiwa (big endian linux), and freedom (bsd) (all serial only).
Note that the test on freedom requires the manual addition of

/* JRM */
#if 0
#define __BSD_VISIBLE 1
#include <sys/fcntl.h>
#endif
/* JRM */

near the top of src/H5FDdirect.c.  For now, just replace the 0 with 1 in the #if
to compile and test on BSD.  This is a configuration issue that I'll address
with the rest of the outstanding configuration issues when appropriate.

Test are known not to pass reliably on Linew and expected not to pass on MacOS.

Ran into considerable wierdness on checkin, with svn complaining about missing
files.  Finally had to checkout fresh version of code, port changes to it, and 
re-tests.  Odd, as the log indicates no activity on this branch since my last
checkin.
This commit is contained in:
John Mainzer
2011-03-14 03:34:35 -05:00
parent b617e21552
commit e6b9094a32
13 changed files with 8092 additions and 664 deletions

View File

@@ -23,10 +23,10 @@ include $(top_srcdir)/config/commence.am
INCLUDES=-I$(top_srcdir)/src -I$(top_builddir)/src
# Test script for error_test and err_compat
TEST_SCRIPT = testerror.sh testlibinfo.sh testcheck_version.sh
# Test script for error_test, err_compat, and fsync
TEST_SCRIPT = testerror.sh testlibinfo.sh testcheck_version.sh fsync_tests.sh
check_SCRIPTS = $(TEST_SCRIPT)
SCRIPT_DEPEND = error_test$(EXEEXT) err_compat$(EXEEXT)
SCRIPT_DEPEND = error_test$(EXEEXT) err_compat$(EXEEXT) fsync_tests.c$(EXEEXT)
# These are our main targets. They should be listed in the order to be
@@ -50,7 +50,8 @@ TEST_PROG=testhdf5 lheap ohdr stab gheap cache cache_api \
# 'make check' doesn't run them directly, so they are not included in TEST_PROG.
# Also build testmeta, which is used for timings test. It builds quickly,
# and this lets automake keep all its test programs in one place.
check_PROGRAMS=$(TEST_PROG) error_test err_compat tcheck_version testmeta
check_PROGRAMS=$(TEST_PROG) error_test err_compat tcheck_version testmeta \
fsync_tests
# These programs generate test files for the tests. They don't need to be