Commit Graph

168 Commits

Author SHA1 Message Date
Allen Byrne
616e1be117 [svn-r18675] Updated scripts for H5copy r18398 and H5ls r18642 2010-04-29 17:05:47 -05:00
Allen Byrne
efb94f8949 [svn-r18430] Add windows define BIND_TO_CURRENT_VCLIBS_VERSION=1 to project files.
Corrected copy H5srcdir_str.h commands in script.
Added libsettings project to behave like h5tinit.vcproj.
2010-03-19 09:48:49 -05:00
Quincey Koziol
1809f040c9 [svn-r18419] Description:
Clean up srcdir querying code more, extracting it into single header file,
to avoid compiler warnings.

Tested on:
    Mac OS X/32 10.6.2 (amazon) w/debug & prod
    Linux/32 2.6 (jam)
2010-03-18 07:23:04 -05:00
Quincey Koziol
cd2534d9ba [svn-r18418] Description:
Centralize common code for srcdir lookups.

Tested on:
    Mac OS X/32 10.6.2 (amazon) w/debug & prod
    Linux/32 2.6 (jam)
2010-03-18 07:04:39 -05:00
Quincey Koziol
0ac03c7890 [svn-r18414] Description:
Add copyright to new files
2010-03-17 16:48:09 -05:00
Quincey Koziol
fd547cd11f [svn-r18413] Description:
Unify srcdir handling for test executables and allow them to use the srcdir
setting from configure time without requiring the 'srcdir' environment variable
be set (although you still can, to override the built in setting).  Attempted
to get this right for Windows builds also.

    Also add dependency between src/H5Tinit.c and src/libhdf5.settings, so
that the test/testcheck_version.sh script works correctly.

Tested on:
    Linux/32 2.6 (jam)
    Mac OS X/32 10.6.2 (amazon)
2010-03-17 16:38:20 -05:00
Allen Byrne
ef844be70d [svn-r18360] Updated project files and release docs to VS2008 and IVF101 based.
Made change to cpp version of testhdf5 for the elimination of dsets standalone.

Tested: Windows
2010-03-03 15:20:16 -05:00
Allen Byrne
8a6d2e02be [svn-r18325] Updated test script to match *nix shell script.
Tested: windows
2010-02-23 16:18:41 -05:00
Allen Byrne
525f639a91 [svn-r18322] Updated test script to match *nix shell script.
Tested: windows
2010-02-23 16:06:35 -05:00
Allen Byrne
28a9bf5f47 [svn-r18317] Updated test script to match *nix shell script. Also corrected 629 file exit code 2010-02-23 14:02:27 -05:00
Allen Byrne
5d27012937 [svn-r17726] Updated the errorlevel checking for better error handling in the windows batch files. 2009-10-22 16:23:59 -05:00
Allen Byrne
b0883a206f [svn-r17494] Added missing test for display buffer resize. 2009-09-17 15:57:51 -05:00
Allen Byrne
b19d0fb868 [svn-r17478] Update Windows project file for test refactored out of tools lib.
Tested: Windows
2009-09-14 17:03:53 -05:00
Allen Byrne
5a5ca3f12c [svn-r17471] Corrected use of _DEBUG preprocessor value in release configurations of hdf5_f90cstubdll.vcproj
Corrected debug configuration of examples project file
Updated windows batch file to match the testh5diff.sh script change in rev 17466.

Tested: windows
2009-09-11 17:13:56 -05:00
Allen Byrne
cf421eaa74 [svn-r17373] Added new file to library project.
Also removed unused project settings. These were per file settings that should not be used unless a file needs them.

Tested: Windows
2009-08-18 09:56:54 -05:00
Allen Byrne
8d1ccbfd44 [svn-r17287] Added the two infinity tests to the windows batch script to match the linux test script. 2009-07-31 13:26:59 -05:00
Allen Byrne
5e8d84b421 [svn-r17056] Rev 17052 added new test to h5repack test script, which requires that the windows batch file be updated.
Tested: Windows XP32
2009-06-16 11:46:34 -05:00
Scott Wegner
b8036fc5f6 [svn-r16806] Purpose: Add new h5repack tests to Windows
Description:
Three new tests were added to the h5repack test script in rev.16802.  This checkin brings those new tests to Windows as well.

Tested:
VS2005 on WinXP x64
2009-04-20 13:24:28 -05:00
Allen Byrne
e6f83cf57e [svn-r16666] Added h5tools.h to h5difftst.vcproj.
Added new test to h5repack.bat.

Tested on XP32-VS2005-IVF101
2009-04-03 16:31:19 -05:00
Allen Byrne
d75cd486e1 [svn-r16521] Changed windows batch file due r16518. As all windows OS are always LE on all platforms, simply added le to the two locations where these files are used.
Tested:
Vista 32 VS2008
2009-02-26 16:33:31 -05:00
Allen Byrne
6b0bf98d32 [svn-r16469] Added new cases for compound types to batch file per the updated script file of rev #16461
Tested:
   Vista32, XP64 - VS2005, VS2008
2009-02-11 17:16:22 -05:00
Allen Byrne
b99ed1e18f [svn-r16442] Update windows batch file to match *nix script due to rev 16351
Tested:
 XP 32 VNET, XP64 VS2008
2009-02-05 13:49:24 -05:00
Allen Byrne
9ada07ef3a [svn-r16412] testh5ls.bat - added tests to match script file from rev 16310
h5repack.bat - added test to match script file from rev 16402
set_extent.vcproj - added WS2_32.lib for change to set_extent from rev 16406
h5pubconf.h - added C99 undef to sync with *nix configuration

Tested:
 Vista32, XP32, XP64 using VNET, VS2005 VS2008
2009-02-03 16:38:14 -05:00
Scott Wegner
b3b538cf58 [svn-r16084] Purpose: Update Windows tool test scripts
Description: Bring changes from the various tool test scripts to Windows.

testh5copy.bat: add syntax for tests which expect h5diff to fail, and apply them to existing tests
testh5diff.bat: add a new test for "contents mode"
testh5dump.bat: modify some tests to use the new "-b *" and "-b NATIVE" syntax
h5repack.bat: call h5dump without the -c switch

Tested:
VS2005 on WinXP
2008-11-17 14:12:14 -05:00
Scott Wegner
59309308f1 [svn-r15904] Purpose: Add new h5dump test to Windows
Description:
Two new test cases for h5dump were recently added to the test script on Unix.  This checkin also adds the new cases to Windows.

Tested:
VS2005 on WinXP
2008-10-20 09:56:01 -05:00
Neil Fortner
ad28fa5b0c [svn-r15886] Purpose: Close bug 1332
Description: Improved external link traversal of h5dump.  h5dump will now
    properly avoid all cycles, even those spanning multiple files.  Improvement
    to the output of committed datatypes.  Committed datatypes are now checked
    for uniqueness (like other objects).  Tests added for these cases.

Tested: kagiso, linew, smirom (h5committest)
2008-10-15 22:52:16 -05:00
Scott Wegner
7064d9d8ad [svn-r15816] Purpose: Update h5ls test script
Description:
The general h5ls test script was recently updated.  This checkin brings those changes to Windows

Also add freespace & mf to general test script, since I forgot in the last checkin

Tested:
VS2005 on WinXP
2008-10-08 11:04:39 -05:00
Scott Wegner
ad6c6761a4 [svn-r15723] Purpose: Add h5import test to Windows
Description:
Add a new test for h5import to check for alignment.  Also fix the failing h5repack test, now that ublock has been added to svn.

Tested
VS2005 on WinXP
2008-09-29 14:41:16 -05:00
Scott Wegner
8dea24602d [svn-r15588] Purpose: Add new h5repack tests to Windows
Description:
New h5repack tests were added in revision 15551 and 15557, and also the syntax of one test was changed.  This was causing errors on Windows.  This checkin should fix those errors.

Tested:
VS2005 on WinXP
2008-09-03 10:59:59 -05:00
Scott Wegner
769daf5479 [svn-r15524] Purpose: Add new h5repack test to Windows
Description:
There was one new h5repack test added recently.  This commit also adds it to the Windows test script

Tested:
VS2005 on WinXP
2008-08-25 09:51:54 -05:00
Scott Wegner
90aa3cb287 [svn-r15430] Purpose: Update Windows test script for new h5diff option: -c
Description:
A new parameter was added to h5diff recently.  We add a new test to the h5diff script, and change the syntax in which h5diff is called from the h5repack test script

Tested:
VS2005 on WinXP
2008-08-04 16:50:37 -05:00
Scott Wegner
40e8b8321e [svn-r15324] Purpose: Update h5jam Windows test for new testfiles directory
Description:
The testfiles directory moved, so we need to update test script on Windows.  This should fix the Windows daily-test errors from the weekend.

Tested:
VS2005 on WinXP
2008-07-07 09:05:56 -05:00
Scott Wegner
e93a678613 [svn-r15252] Purpose: Update h5copy script on Windows
Description:
Simply change the "infiles" to use new testfiles directory

Tested:
VS2005 on WinXP
2008-06-20 11:24:10 -05:00
Scott Wegner
e0232fd960 [svn-r15250] Purpose: Update Windows h5repack test script
Description:
More syntax changes for testfiles directory.  This updates Windows for the neccessary changes as well.

Tested:
VS2005 on WinXP
2008-06-20 10:17:47 -05:00
Scott Wegner
c55692001f [svn-r15249] Purpose: Update Windows testing script
Description:
More updates were made to the h5diff test script structure.  Specifically, the printing of output and how files are found in the actual test.  This brings the changes to Windows as well.

Tested:
VS2005 on WinXP
2008-06-20 09:57:06 -05:00
Scott Wegner
01c7dab76e [svn-r15245] Purpose: Update h5diff test for new testfiles folder
Description:
The testfiles for h5diff were moved the a new folder, and the general script was updated.  This checkin makes the minor changes neccessary for Windows to use the new folder.

Tested:
VS2005 on WinXP
2008-06-19 17:13:22 -05:00
Scott Wegner
5ae2a199d6 [svn-r15145] Purpose: Add new h5ls test to Windows
Description:
A new test case was added to the general testh5ls script.  This update adds the test to Windows as well.

Tested:
VS2005 on WinXP
2008-06-05 10:13:34 -05:00
Scott Wegner
56caada315 [svn-r15104] Purpose: Work around Windows FC bug in h5dump xml test script
Description:
In some rare instances, FC (diff equivalent) command on Windows will fail when comparing ASCII files with opposite line-ending formats (Unix uses LF, while Windows uses CRLF).  This was an issue for one test case in our test script.  It only came up when testing from a release tarball, because the expected output was not converted to Windows-style.  In this situation, FC was reporting false differences.

To workaround, we double-check failure cases and convert the EOL characters if neccessary.

Tested:
VS2005 on WinXP
2008-05-30 10:54:14 -05:00
Scott Wegner
735967fb12 [svn-r15094] Purpose: Cleanup Windows project files-- standardize program debug information
Description:
In our debug project configurations, many of the projects were generating debug information for "Program Database and Edit & Continue".  Other projects were using different settings, or none at all. We standardize to use "Program Database" setting, because it generates much smaller .obj files and cuts out unnecessary debug information.

This is another project cleanup and enhancement from user suggestions outlined in bug #1164

Tested:
VS2005 on WinXP
VS.NET on WinXP
2008-05-29 13:53:31 -05:00
Scott Wegner
15024258cb [svn-r15093] Purpose: Cleanup Windows project files-- remove ignored system library
Description:
In many of our project files on Windows, we have our linker setting set to ignore old link libraries-- either libc.lib or libcd.lib.  This is a relic from converting project files from old versions of Visual Studio to newer ones, and is unnecessary.  Per a user's suggestion, we remove the ignored library from the project files.  This actually makes no difference in the output binaries.

Tested:
VS2005 on WinXP
VS.NET on WinXP
2008-05-29 12:45:36 -05:00
Scott Wegner
75f21172fb [svn-r15056] Purpose: Update Windows h5repack test script
Description:
Merge changes from 1.8 branch into trunk.  New syntax and test added for "old syntax"

Tested:
VS2005 on WinXP
2008-05-21 10:39:29 -05:00
Scott Wegner
60f752301d [svn-r14980] Purpose: Update h5dump test script on Windows
Description:
One test has been added to h5dump test for custom output formats.  This adds the test on Windows as well.

Tested:
VS2005 on WinXP
2008-05-12 15:36:01 -05:00
Scot Breitenfeld
aec106e324 [svn-r14903] Undoing change committed in r14902. 2008-04-30 14:51:13 -05:00
Scot Breitenfeld
5773fd34bc [svn-r14902] Merged fortran_1_8 branch changes r14505:14901 into the trunk. New fortran wrappers added. 2008-04-30 14:23:26 -05:00
Scott Wegner
775bbddc28 [svn-r14854] Purpose: Remove many spurious compiler warnings in Visual Studio
Description:
On Windows, many POSIX functions have been replaced by a similarly-named function with some additional security-checking.  Visual Studio issues a warning each time the POSIX version is used, recommending that we replace it with the new version.  This results in thousands of errors when building the HDF5 library.

This checkin adds a Visual Studio "Property Sheet", which has been applied to all library projects, and defines a number of preprocessors to suppress these warnings.  The warnings have been disabled only in Visual Studio 2005 project files, as VS.NET doesn't support property sheets.

Tested:
VS2005 on WinXP
2008-04-21 09:03:59 -05:00
Scott Wegner
79e97a0e9e [svn-r14836] Purpose: Remove English-specific code from Windows test scripts
Description:
In previous versions of Windows, the builtin 'FC' command (diff equivalent) didn't return proper exit status.  As a work-around, we parsed the message returned to check status.  This relies on English return messages.

In current Windows XP and Windows Vista, FC will return exit status as expected, so we can remove this workaround.  Older platforms where we would need this workaround are no longer supported.

Tested:
VS2005 on Windows XP
Small test on Windows Vista
2008-04-14 10:03:26 -05:00
Scott Wegner
3e3da02733 [svn-r14768] Purpose: Remove spurious szip link directory in h5repack debug project
Description:
As pointed out by a user, we added an un-needed link directory for szip which is machine-dependent and, in his case, problematic.  We can safely remove this reference because we already include the szip link directory elsewhere.

Tested:
None, simply removed
2008-03-24 13:03:13 -05:00
Scott Wegner
fa81a84cec [svn-r14717] Purpose: Remove commented test in h5dump test script
Description:
A commented test was deleted from the main h5dump test script.  This makes the same change in the Windows script.  This won't actually make any noticeable changes-- just to keep up with Linux.

Tested:
None needed, no new tests, just deleted comments
2008-03-10 13:24:59 -05:00
Scott Wegner
0a33c38b75 [svn-r14667] Purpose: Update Windows h5import test script
Description:
The names of the test files for h5import changed slightly, so we needed to update our test script accordingly.  Also, a test for EOL characters has been added.

Tested:
VS2005 on WinXP
2008-02-25 10:52:05 -05:00
Scott Wegner
77b17dbe18 [svn-r14599] Purpose: Fix very minor typo in Windows h5import test script
Description:
Single-letter typo in the Windows test script was causing us to return the wrong error code in some cases.

Tested:
VS2005 on WinXP
2008-02-18 11:48:30 -05:00