mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-30 15:32:37 +08:00
[svn-r13924] Purpose: Cleanup
Description: Clean up the MANIFEST a little bit. Also removed some batch files and empty folders that were added mistakenly in the last check-in. Tested: Too minor.
This commit is contained in:
parent
c63a400f7a
commit
10f04e6519
@ -1,158 +0,0 @@
|
||||
@REM Copyright by The HDF Group.
|
||||
@REM Copyright by the Board of Trustees of the University of Illinois.
|
||||
@REM All rights reserved.
|
||||
@REM
|
||||
@REM This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
@REM terms governing use, modification, and redistribution, is contained in
|
||||
@REM the files COPYING and Copyright.html. COPYING can be found at the root
|
||||
@REM of the source code distribution tree; Copyright.html can be found at the
|
||||
@REM root level of an installed copy of the electronic HDF5 document set and
|
||||
@REM is linked from the top-level documents page. It can also be found at
|
||||
@REM http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
|
||||
@REM access to either file, you may request a copy from help@hdfgroup.org.
|
||||
|
||||
@ECHO OFF
|
||||
REM This batch file is used to test HDF5 C examples.
|
||||
REM by Xuan Bai
|
||||
REM Created: 09/09/2004
|
||||
REM Last Modified: 10/16/2004
|
||||
|
||||
if %1.==. GOTO WRONG
|
||||
if "%1"=="/?" GOTO HELP
|
||||
if %1==release GOTO RELEASE
|
||||
if %1==debug GOTO DEBUG
|
||||
GOTO WRONG
|
||||
|
||||
:RELEASE
|
||||
if %2.==. GOTO REL
|
||||
if %2==dll GOTO RELDLL
|
||||
GOTO WRONG
|
||||
|
||||
:REL
|
||||
type nul > %1.txt
|
||||
cd examplesREL
|
||||
attributetest >> ..\%1.txt
|
||||
compoundtest >> ..\%1.txt
|
||||
extendwritetest >> ..\%1.txt
|
||||
grouptest >> ..\%1.txt
|
||||
intermgrouptest >> ..\%1.txt
|
||||
selectest >> ..\%1.txt
|
||||
writetest >> ..\%1.txt
|
||||
chunkread >> ..\%1.txt
|
||||
readtest >> ..\%1.txt
|
||||
cd ..
|
||||
more /e +3 testExamples_exp_output.txt > output.txt
|
||||
fc %1.txt output.txt >temp.txt
|
||||
if %ERRORLEVEL%==0 (
|
||||
echo All HDF5 C examples tests passed.
|
||||
) else (
|
||||
echo HDF5 C examples tests failed.
|
||||
echo.
|
||||
more temp.txt
|
||||
)
|
||||
del output.txt
|
||||
del temp.txt
|
||||
GOTO END
|
||||
|
||||
:RELDLL
|
||||
type nul > %1.txt
|
||||
cd examplesRELDLL
|
||||
attributetestdll >> ..\%1.txt
|
||||
compoundtestdll >> ..\%1.txt
|
||||
extendwritetestdll >> ..\%1.txt
|
||||
grouptestdll >> ..\%1.txt
|
||||
intermgrouptestdll >> ..\%1.txt
|
||||
selectestdll >> ..\%1.txt
|
||||
writetestdll >> ..\%1.txt
|
||||
chunkreaddll >> ..\%1.txt
|
||||
readtestdll >> ..\%1.txt
|
||||
cd ..
|
||||
more /e +3 testExamples_exp_output.txt > output.txt
|
||||
fc %1.txt output.txt >temp.txt
|
||||
if %ERRORLEVEL%==0 (
|
||||
echo All HDF5 C examples tests passed.
|
||||
) else (
|
||||
echo HDF5 C examples tests failed.
|
||||
echo.
|
||||
more temp.txt
|
||||
)
|
||||
del output.txt
|
||||
del temp.txt
|
||||
GOTO END
|
||||
|
||||
:DEBUG
|
||||
if %2.==. GOTO DBG
|
||||
if %2==dll GOTO DBGDLL
|
||||
GOTO WRONG
|
||||
|
||||
:DBG
|
||||
type nul > %1.txt
|
||||
cd examplesDBG
|
||||
attributetest >> ..\%1.txt
|
||||
compoundtest >> ..\%1.txt
|
||||
extendwritetest >> ..\%1.txt
|
||||
grouptest >> ..\%1.txt
|
||||
intermgrouptest >> ..\%1.txt
|
||||
selectest >> ..\%1.txt
|
||||
writetest >> ..\%1.txt
|
||||
chunkread >> ..\%1.txt
|
||||
readtest >> ..\%1.txt
|
||||
cd ..
|
||||
more /e +3 testExamples_exp_output.txt > output.txt
|
||||
fc %1.txt output.txt >temp.txt
|
||||
if %ERRORLEVEL%==0 (
|
||||
echo All HDF5 C examples tests passed.
|
||||
) else (
|
||||
echo HDF5 C examples tests failed.
|
||||
echo.
|
||||
more temp.txt
|
||||
)
|
||||
del output.txt
|
||||
del temp.txt
|
||||
GOTO END
|
||||
|
||||
:DBGDLL
|
||||
type nul > %1.txt
|
||||
cd examplesDBGDLL
|
||||
attributetestdll >> ..\%1.txt
|
||||
compoundtestdll >> ..\%1.txt
|
||||
extendwritetestdll >> ..\%1.txt
|
||||
grouptestdll >> ..\%1.txt
|
||||
intermgrouptestdll >> ..\%1.txt
|
||||
selectestdll >> ..\%1.txt
|
||||
writetestdll >> ..\%1.txt
|
||||
chunkreaddll >> ..\%1.txt
|
||||
readtestdll >> ..\%1.txt
|
||||
cd ..
|
||||
more /e +3 testExamples_exp_output.txt > output.txt
|
||||
fc %1.txt output.txt >temp.txt
|
||||
if %ERRORLEVEL%==0 (
|
||||
echo All HDF5 C examples tests passed.
|
||||
) else (
|
||||
echo HDF5 C examples tests failed.
|
||||
echo.
|
||||
more temp.txt
|
||||
)
|
||||
del output.txt
|
||||
del temp.txt
|
||||
GOTO END
|
||||
|
||||
:WRONG
|
||||
echo The syntax of the command is incorrect.
|
||||
echo.
|
||||
|
||||
:HELP
|
||||
echo Tests HDF5 C examples.
|
||||
echo.
|
||||
echo testExamples [OPTION]
|
||||
echo.
|
||||
echo Please use one of the following options!
|
||||
echo.
|
||||
echo testExamples release test HDF5 C examples -- release version
|
||||
echo testExamples release dll test HDF5 C examples -- release dll version
|
||||
echo testExamples debug test HDF5 C examples -- debug version
|
||||
echo testExamples debug dll test HDF5 C examples -- debug dll version
|
||||
echo testExamples /? Help information
|
||||
echo.
|
||||
|
||||
:END
|
@ -1,17 +0,0 @@
|
||||
@REM Copyright by The HDF Group.
|
||||
@REM Copyright by the Board of Trustees of the University of Illinois.
|
||||
@REM All rights reserved.
|
||||
@REM
|
||||
@REM This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
@REM terms governing use, modification, and redistribution, is contained in
|
||||
@REM the files COPYING and Copyright.html. COPYING can be found at the root
|
||||
@REM of the source code distribution tree; Copyright.html can be found at the
|
||||
@REM root level of an installed copy of the electronic HDF5 document set and
|
||||
@REM is linked from the top-level documents page. It can also be found at
|
||||
@REM http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
|
||||
@REM access to either file, you may request a copy from help@hdfgroup.org.
|
||||
|
||||
testhdf5_fortran%2\%1\testhdf5_fortran%2
|
||||
flush1_fortran%2\%1\flush1_fortran%2
|
||||
copy fflush1.h5 flush2_fortran\%1\fflush1.h5
|
||||
flush2_fortran%2\%1\flush2_fortran%2
|
@ -1,24 +0,0 @@
|
||||
@REM Copyright by The HDF Group.
|
||||
@REM Copyright by the Board of Trustees of the University of Illinois.
|
||||
@REM All rights reserved.
|
||||
@REM
|
||||
@REM This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
@REM terms governing use, modification, and redistribution, is contained in
|
||||
@REM the files COPYING and Copyright.html. COPYING can be found at the root
|
||||
@REM of the source code distribution tree; Copyright.html can be found at the
|
||||
@REM root level of an installed copy of the electronic HDF5 document set and
|
||||
@REM is linked from the top-level documents page. It can also be found at
|
||||
@REM http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
|
||||
@REM access to either file, you may request a copy from help@hdfgroup.org.
|
||||
|
||||
@ECHO OFF
|
||||
|
||||
@REM This batch file will be used to test HDF5 High Level C++ Library.
|
||||
@REM By Fang GUO
|
||||
@REM Created on: 05/27/2005
|
||||
|
||||
echo.
|
||||
echo ===============================================
|
||||
echo Testing hl_test_table_cpp%2 -- %1
|
||||
echo ===============================================
|
||||
hl_test_table_cpp%2\%1\hl_test_table_cpp%2
|
@ -1,76 +0,0 @@
|
||||
@REM Copyright by The HDF Group.
|
||||
@REM Copyright by the Board of Trustees of the University of Illinois.
|
||||
@REM All rights reserved.
|
||||
@REM
|
||||
@REM This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
@REM terms governing use, modification, and redistribution, is contained in
|
||||
@REM the files COPYING and Copyright.html. COPYING can be found at the root
|
||||
@REM of the source code distribution tree; Copyright.html can be found at the
|
||||
@REM root level of an installed copy of the electronic HDF5 document set and
|
||||
@REM is linked from the top-level documents page. It can also be found at
|
||||
@REM http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
|
||||
@REM access to either file, you may request a copy from help@hdfgroup.org.
|
||||
|
||||
@ECHO OFF
|
||||
@:: This batch file is used to test HDF5 High Level C examples.
|
||||
@:: Written by : Fang GUO
|
||||
@:: Created : 07/26/2005
|
||||
@:: Last Modified:
|
||||
|
||||
:: Track errors
|
||||
set total_error=0
|
||||
|
||||
if %1.==. GOTO WRONG
|
||||
if "%1"=="/?" GOTO HELP
|
||||
if "%1"=="release" GOTO CONFIG
|
||||
if "%1"=="debug" GOTO CONFIG
|
||||
|
||||
GOTO WRONG
|
||||
|
||||
:CONFIG
|
||||
if "%2"=="dll" GOTO TEST
|
||||
if %2.==. GOTO TEST
|
||||
GOTO WRONG
|
||||
|
||||
:TEST
|
||||
echo Testing %1 %2 version of High Level examples
|
||||
echo.
|
||||
|
||||
for %%i in (ds lite table images packet) do (
|
||||
HLCexamples%1%2\ex_%%i%2
|
||||
if not %errorlevel%==0 set /A totalerror=totalerror+1
|
||||
)
|
||||
|
||||
|
||||
if %total_error%==0 (
|
||||
echo.
|
||||
echo. All of the HL C Examples Passed!
|
||||
) else (
|
||||
echo.
|
||||
echo. %total_error% HL C Examples Failed!
|
||||
)
|
||||
|
||||
GOTO END
|
||||
|
||||
:WRONG
|
||||
echo The syntax of the command is incorrect.
|
||||
echo Use test_hl_cexamples /? for usage informtaion
|
||||
echo.
|
||||
GOTO END
|
||||
|
||||
:HELP
|
||||
echo Tests HDF5 High Level C examples.
|
||||
echo.
|
||||
echo test_hl_cexamples [OPTION]
|
||||
echo.
|
||||
echo Please use one of the following options!
|
||||
echo.
|
||||
echo test_hl_cexamples release test HDF5 HL C examples -- release version
|
||||
echo test_hl_cexamples release dll test HDF5 HL C examples -- release dll version
|
||||
echo test_hl_cexamples debug test HDF5 HL C examples -- debug version
|
||||
echo test_hl_cexamples debug dll test HDF5 HL C examples -- debug dll version
|
||||
echo test_hl_cexamples /? Help information
|
||||
echo.
|
||||
GOTO END
|
||||
|
||||
:END
|
@ -1,64 +0,0 @@
|
||||
@REM Copyright by The HDF Group.
|
||||
@REM Copyright by the Board of Trustees of the University of Illinois.
|
||||
@REM All rights reserved.
|
||||
@REM
|
||||
@REM This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
@REM terms governing use, modification, and redistribution, is contained in
|
||||
@REM the files COPYING and Copyright.html. COPYING can be found at the root
|
||||
@REM of the source code distribution tree; Copyright.html can be found at the
|
||||
@REM root level of an installed copy of the electronic HDF5 document set and
|
||||
@REM is linked from the top-level documents page. It can also be found at
|
||||
@REM http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
|
||||
@REM access to either file, you may request a copy from help@hdfgroup.org.
|
||||
|
||||
@ECHO OFF
|
||||
@:: This batch file is used to test HDF5 High Level Fortran examples.
|
||||
@:: Written by : Fang GUO
|
||||
@:: Created : 12/20/2005
|
||||
@:: Last Modified:
|
||||
|
||||
if %1.==. GOTO WRONG
|
||||
if "%1"=="/?" GOTO HELP
|
||||
if "%1"=="release" GOTO CONFIG
|
||||
if "%1"=="debug" GOTO CONFIG
|
||||
|
||||
GOTO WRONG
|
||||
|
||||
:CONFIG
|
||||
if "%2"=="dll" GOTO TEST
|
||||
if %2.==. GOTO TEST
|
||||
GOTO WRONG
|
||||
|
||||
:TEST
|
||||
echo.
|
||||
HLf90examples%1%2\ex_lite%2
|
||||
if ERRORLEVEL == 0 (
|
||||
echo. %1 %2 version of High Level Fortran examples PASSED
|
||||
)else (
|
||||
echo. %1 %2 version of High Level Fortran examples FAILED
|
||||
)
|
||||
echo.
|
||||
GOTO END
|
||||
|
||||
:WRONG
|
||||
echo The syntax of the command is incorrect.
|
||||
echo Use test_hl_f90examples /? for usage informtaion
|
||||
echo.
|
||||
GOTO END
|
||||
|
||||
:HELP
|
||||
echo Tests HDF5 High Level Fortran examples.
|
||||
echo.
|
||||
echo test_hl_f90examples [OPTION]
|
||||
echo.
|
||||
echo Please use one of the following options!
|
||||
echo.
|
||||
echo test_hl_f90examples release test HDF5 HL Fortran examples -- release version
|
||||
echo test_hl_f90examples release dll test HDF5 HL Fortran examples -- release dll version
|
||||
echo test_hl_f90examples debug test HDF5 HL Fortran examples -- debug version
|
||||
echo test_hl_f90examples debug dll test HDF5 HL Fortran examples -- debug dll version
|
||||
echo test_hl_f90examples /? Help information
|
||||
echo.
|
||||
GOTO END
|
||||
|
||||
:END
|
@ -1,36 +0,0 @@
|
||||
@REM Copyright by The HDF Group.
|
||||
@REM Copyright by the Board of Trustees of the University of Illinois.
|
||||
@REM All rights reserved.
|
||||
@REM
|
||||
@REM This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
@REM terms governing use, modification, and redistribution, is contained in
|
||||
@REM the files COPYING and Copyright.html. COPYING can be found at the root
|
||||
@REM of the source code distribution tree; Copyright.html can be found at the
|
||||
@REM root level of an installed copy of the electronic HDF5 document set and
|
||||
@REM is linked from the top-level documents page. It can also be found at
|
||||
@REM http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
|
||||
@REM access to either file, you may request a copy from help@hdfgroup.org.
|
||||
|
||||
@ECHO OFF
|
||||
|
||||
REM This batch file will be used to test HDF5 High Level Fortran Library.
|
||||
REM By Xuan Bai
|
||||
REM Last Modified on: 07/15/2005
|
||||
|
||||
echo.
|
||||
echo ===============================================
|
||||
echo Testing hl_test_lite_fortran%2 -- %1
|
||||
echo ===============================================
|
||||
hl_test_lite_fortran%2\%1\hl_test_lite_fortran%2
|
||||
|
||||
echo.
|
||||
echo ===============================================
|
||||
echo Testing hl_test_image_fortran%2 -- %1
|
||||
echo ===============================================
|
||||
hl_test_image_fortran%2\%1\hl_test_image_fortran%2
|
||||
|
||||
echo.
|
||||
echo ===============================================
|
||||
echo Testing hl_test_table_fortran%2 -- %1
|
||||
echo ===============================================
|
||||
hl_test_table_fortran%2\%1\hl_test_table_fortran%2
|
@ -1,56 +0,0 @@
|
||||
@REM Copyright by The HDF Group.
|
||||
@REM Copyright by the Board of Trustees of the University of Illinois.
|
||||
@REM All rights reserved.
|
||||
@REM
|
||||
@REM This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
@REM terms governing use, modification, and redistribution, is contained in
|
||||
@REM the files COPYING and Copyright.html. COPYING can be found at the root
|
||||
@REM of the source code distribution tree; Copyright.html can be found at the
|
||||
@REM root level of an installed copy of the electronic HDF5 document set and
|
||||
@REM is linked from the top-level documents page. It can also be found at
|
||||
@REM http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
|
||||
@REM access to either file, you may request a copy from help@hdfgroup.org.
|
||||
|
||||
@ECHO OFF
|
||||
|
||||
@REM This batch file will be used to test HDF5 High Level Library.
|
||||
@REM By Xuan Bai
|
||||
@REM Last Modified on: 07/14/2005 by Fang GUO
|
||||
|
||||
echo.
|
||||
echo ===============================================
|
||||
echo Testing hl_test_ds%2 -- %1
|
||||
echo ===============================================
|
||||
hl_test_ds%2\%1\hl_test_ds%2
|
||||
|
||||
echo.
|
||||
echo ===============================================
|
||||
echo Testing hl_test_lite%2 -- %1
|
||||
echo ===============================================
|
||||
hl_test_lite%2\%1\hl_test_lite%2
|
||||
|
||||
echo.
|
||||
echo ===============================================
|
||||
echo Testing hl_test_image%2 -- %1
|
||||
echo ===============================================
|
||||
hl_test_image%2\%1\hl_test_image%2
|
||||
|
||||
echo.
|
||||
echo ===============================================
|
||||
echo Testing hl_test_table%2 -- %1
|
||||
echo ===============================================
|
||||
hl_test_table%2\%1\hl_test_table%2
|
||||
|
||||
echo.
|
||||
echo ===============================================
|
||||
echo Testing hl_test_packet%2 -- %1
|
||||
echo ===============================================
|
||||
hl_test_packet%2\%1\hl_test_packet%2
|
||||
|
||||
echo.
|
||||
echo ===============================================
|
||||
echo Testing h52gif and gif2h5 -- %1 %2
|
||||
echo ===============================================
|
||||
cd ..\tools\gif2h5
|
||||
call h52giftest %1 %2
|
||||
cd ..\..\test
|
@ -1,67 +0,0 @@
|
||||
@REM Copyright by The HDF Group.
|
||||
@REM Copyright by the Board of Trustees of the University of Illinois.
|
||||
@REM All rights reserved.
|
||||
@REM
|
||||
@REM This file is part of HDF5. The full HDF5 copyright notice, including
|
||||
@REM terms governing use, modification, and redistribution, is contained in
|
||||
@REM the files COPYING and Copyright.html. COPYING can be found at the root
|
||||
@REM of the source code distribution tree; Copyright.html can be found at the
|
||||
@REM root level of an installed copy of the electronic HDF5 document set and
|
||||
@REM is linked from the top-level documents page. It can also be found at
|
||||
@REM http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
|
||||
@REM access to either file, you may request a copy from help@hdfgroup.org.
|
||||
|
||||
@echo off
|
||||
|
||||
::This batch file is for h52gif tests.
|
||||
::Usage
|
||||
:: h52giftest release -- release static version
|
||||
:: h52giftest debug -- debug static version
|
||||
:: h52giftest release dll -- release dll version
|
||||
:: h52giftest debug dll -- debug dll version
|
||||
:: Written By: Scott Wegner
|
||||
:: Date : April 5, 2005
|
||||
|
||||
|
||||
REM Set up our environment
|
||||
|
||||
mkdir temptest
|
||||
|
||||
set TESTFILE1=..\testfiles\h52giftst.h5
|
||||
set TESTFILE2=..\testfiles\image1.gif
|
||||
|
||||
set H52GIF=..\gifconv%2\h52gif%2\%1\h52gif%2.exe
|
||||
set GIF2H5=..\gifconv%2\gif2h5%2\%1\gif2h5%2.exe
|
||||
|
||||
|
||||
REM The tests
|
||||
|
||||
REM TOOLTEST1 $TESTFILE1 image1.gif -i image
|
||||
%H52GIF% %TESTFILE1% image1.gif -i image 2>%1 > temptest\gifconv_1.results
|
||||
if %ERRORLEVEL% NEQ 0 (
|
||||
echo Testing h52gif h52giftst.h5 image1.gif -i image FAILED
|
||||
type temptest\gifconv_1.results
|
||||
) else (
|
||||
echo Testing h52gif h52giftst.h5 image1.gif -i image PASSED
|
||||
)
|
||||
del temptest\gifconv_1.results
|
||||
|
||||
REM TOOLTEST2 $TESTFILE2 image1.h5
|
||||
%GIF2H5% %TESTFILE2% image1.h5 2>%1 > temptest\gifconv_2.results
|
||||
if %ERRORLEVEL% NEQ 0 (
|
||||
echo Testing gif2h5 image1.gif image1.h5 FAILED
|
||||
type temptest\gifconv_2.results
|
||||
) else (
|
||||
echo Testing gif2h5 image1.gif image1.h5 PASSED
|
||||
)
|
||||
del temptest\gifconv_2.results
|
||||
|
||||
|
||||
REM Cleanup
|
||||
set TESTFILE1=
|
||||
set TESTFILE2=
|
||||
|
||||
set H52GIF=
|
||||
set GIF2H5=
|
||||
|
||||
rmdir /s/q temptest
|
Loading…
Reference in New Issue
Block a user