System.Data.SQLite
Check-in [9de6bd5d0c]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add command line wrapper tool to make it easy to launch the unit testing infrastructure environment (i.e. a customized Eagle Shell).
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 9de6bd5d0caa94251eae1944bc8fd06322b7471e
User & Date: mistachkin 2013-10-29 18:26:18
Context
2013-10-29
21:16
Permit the automatic selection of the first available build of System.Data.SQLite when running the test suite (via the '-runtimeOption autoSelect' command line option). check-in: 14ea2fc53d user: mistachkin tags: trunk
18:26
Add command line wrapper tool to make it easy to launch the unit testing infrastructure environment (i.e. a customized Eagle Shell). check-in: 9de6bd5d0c user: mistachkin tags: trunk
2013-10-28
18:22
Undo accidental commit of source-id stamping information. Since this information changes with every check-in, modifying it in the repository is not useful (or required). check-in: afdc5ff14c user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Added Setup/test.bat.

            1  +@ECHO OFF
            2  +
            3  +::
            4  +:: test.bat --
            5  +::
            6  +:: Eagle Shell Testing Tool
            7  +::
            8  +:: Written by Joe Mistachkin.
            9  +:: Released to the public domain, use at your own risk!
           10  +::
           11  +
           12  +SETLOCAL
           13  +
           14  +REM SET __ECHO=ECHO
           15  +REM SET __ECHO2=ECHO
           16  +REM SET __ECHO3=ECHO
           17  +IF NOT DEFINED _AECHO (SET _AECHO=REM)
           18  +IF NOT DEFINED _CECHO (SET _CECHO=REM)
           19  +IF NOT DEFINED _VECHO (SET _VECHO=REM)
           20  +
           21  +%_AECHO% Running %0 %*
           22  +
           23  +SET ROOT=%~dp0\..
           24  +SET ROOT=%ROOT:\\=\%
           25  +
           26  +%_VECHO% Root = '%ROOT%'
           27  +
           28  +SET TOOLS=%~dp0
           29  +SET TOOLS=%TOOLS:~0,-1%
           30  +
           31  +%_VECHO% Tools = '%TOOLS%'
           32  +
           33  +CALL :fn_ResetErrorLevel
           34  +
           35  +%__ECHO2% PUSHD "%ROOT%"
           36  +
           37  +IF ERRORLEVEL 1 (
           38  +  ECHO Could not change directory to "%ROOT%".
           39  +  GOTO errors
           40  +)
           41  +
           42  +IF NOT DEFINED PREARGS (
           43  +  %_AECHO% No pre-arguments specified, using default...
           44  +  SET PREARGS=-interactive -noExit
           45  +)
           46  +
           47  +%_VECHO% PreArgs = '%PREARGS%'
           48  +
           49  +IF NOT DEFINED POSTARGS (
           50  +  %_AECHO% No post-arguments specified, using default...
           51  +  SET POSTARGS=-file Tests\empty.eagle
           52  +)
           53  +
           54  +%_VECHO% PostArgs = '%POSTARGS%'
           55  +
           56  +%_CECHO% Externals\Eagle\bin\EagleShell.exe %PREARGS% %* %POSTARGS%
           57  +%__ECHO% Externals\Eagle\bin\EagleShell.exe %PREARGS% %* %POSTARGS%
           58  +
           59  +IF ERRORLEVEL 1 (
           60  +  ECHO Received non-zero return code from the Eagle Shell.
           61  +  GOTO errors
           62  +)
           63  +
           64  +%__ECHO2% POPD
           65  +
           66  +IF ERRORLEVEL 1 (
           67  +  ECHO Could not restore directory.
           68  +  GOTO errors
           69  +)
           70  +
           71  +GOTO no_errors
           72  +
           73  +:fn_ResetErrorLevel
           74  +  VERIFY > NUL
           75  +  GOTO :EOF
           76  +
           77  +:fn_SetErrorLevel
           78  +  VERIFY MAYBE 2> NUL
           79  +  GOTO :EOF
           80  +
           81  +:usage
           82  +  ECHO.
           83  +  ECHO Usage: %~nx0 [...]
           84  +  GOTO errors
           85  +
           86  +:errors
           87  +  CALL :fn_SetErrorLevel
           88  +  ENDLOCAL
           89  +  ECHO.
           90  +  ECHO Failure, errors were encountered.
           91  +  GOTO end_of_file
           92  +
           93  +:no_errors
           94  +  CALL :fn_ResetErrorLevel
           95  +  ENDLOCAL
           96  +  ECHO.
           97  +  ECHO Success, no errors were encountered.
           98  +  GOTO end_of_file
           99  +
          100  +:end_of_file
          101  +%__ECHO% EXIT /B %ERRORLEVEL%

Changes to Setup/verify.lst.

   127    127     Setup/set_x64_2012.bat
   128    128     Setup/set_x86_2005.bat
   129    129     Setup/set_x86_2008.bat
   130    130     Setup/set_x86_2010.bat
   131    131     Setup/set_x86_2012.bat
   132    132     Setup/sourceTag.eagle
   133    133     Setup/SQLite.iss
          134  +  Setup/test.bat
   134    135     Setup/test_all.bat
   135    136     Setup/test_ce.bat
   136    137     Setup/updateFileInfo.tcl
   137    138     Setup/verify.eagle
   138    139     Setup/verify.lst
   139    140     Setup/vsSp.bat
   140    141     SQLite.Beta.nuspec