diff options
author | Scott Wegner <swegner@hdfgroup.org> | 2008-04-14 15:03:26 (GMT) |
---|---|---|
committer | Scott Wegner <swegner@hdfgroup.org> | 2008-04-14 15:03:26 (GMT) |
commit | 79e97a0e9e51cff09a6ad30b8880220ac71ad357 (patch) | |
tree | 75cb0bf87c48da5fd02faaa56e4ea699f0dbde16 /windows/tools/h5diff | |
parent | 0d68a748cc90ef119a1ba26ee39b8cbe18d3e159 (diff) | |
download | hdf5-79e97a0e9e51cff09a6ad30b8880220ac71ad357.zip hdf5-79e97a0e9e51cff09a6ad30b8880220ac71ad357.tar.gz hdf5-79e97a0e9e51cff09a6ad30b8880220ac71ad357.tar.bz2 |
[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
Diffstat (limited to 'windows/tools/h5diff')
-rw-r--r-- | windows/tools/h5diff/testh5diff.bat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/windows/tools/h5diff/testh5diff.bat b/windows/tools/h5diff/testh5diff.bat index fba7ef0..d3c407a 100644 --- a/windows/tools/h5diff/testh5diff.bat +++ b/windows/tools/h5diff/testh5diff.bat @@ -141,7 +141,7 @@ rem call :testing CREATED %h5diff% %params%
copy /y %actual% %expect% > nul
) else (
- fc /w %expect% %actual% | find "FC: no diff" > nul
+ fc /w %expect% %actual% > nul
if !errorlevel! equ 0 (
call :testing PASSED %h5diff% %params%
) else (
|