diff options
author | Scott Wegner <swegner@hdfgroup.org> | 2008-04-14 14:59:52 (GMT) |
---|---|---|
committer | Scott Wegner <swegner@hdfgroup.org> | 2008-04-14 14:59:52 (GMT) |
commit | e622c634d5fe078c69e02c91d1054529eaa55b05 (patch) | |
tree | 0a1c44d5362fb3b4f35af022f5f811095522ac0e /windows/tools/h5dump | |
parent | 740769d37f3ff0689140ce77e26530a64674d549 (diff) | |
download | hdf5-e622c634d5fe078c69e02c91d1054529eaa55b05.zip hdf5-e622c634d5fe078c69e02c91d1054529eaa55b05.tar.gz hdf5-e622c634d5fe078c69e02c91d1054529eaa55b05.tar.bz2 |
[svn-r14835] 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/h5dump')
-rw-r--r-- | windows/tools/h5dump/testh5dump.bat | 4 | ||||
-rw-r--r-- | windows/tools/h5dump/testh5dumpxml.bat | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/windows/tools/h5dump/testh5dump.bat b/windows/tools/h5dump/testh5dump.bat index f26a5d9..b8e8210 100644 --- a/windows/tools/h5dump/testh5dump.bat +++ b/windows/tools/h5dump/testh5dump.bat @@ -124,7 +124,7 @@ rem call :testing CREATED %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 %params%
) else (
@@ -176,7 +176,7 @@ rem use for the binary tests that expect a full path in -o call :testing CREATED %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 %params%
) else (
diff --git a/windows/tools/h5dump/testh5dumpxml.bat b/windows/tools/h5dump/testh5dumpxml.bat index 7fd04f3..1b7893e 100644 --- a/windows/tools/h5dump/testh5dumpxml.bat +++ b/windows/tools/h5dump/testh5dumpxml.bat @@ -89,7 +89,7 @@ rem call :testing CREATED %params%
copy %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 %params%
) else (
@@ -212,4 +212,4 @@ rem ############################################################################ popd
endlocal & exit /b %nerrors%
-
\ No newline at end of file +
|