System.Data.SQLite
Check-in [b7f16caeb1]
Not logged in

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

Overview
Comment:Support testing of the 32-bit SQLite core native library on a 64-bit machine.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: b7f16caeb1dccd75922c6d7956d5a49346118a28
User & Date: mistachkin 2014-01-24 00:01:45
Context
2014-01-24
00:19
Modify the testing batch tool to include both 32-bit and 64-bit testing, where applicable. check-in: 0dd3f7ef59 user: mistachkin tags: trunk
00:01
Support testing of the 32-bit SQLite core native library on a 64-bit machine. check-in: b7f16caeb1 user: mistachkin tags: trunk
2014-01-18
02:36
Streamline use of the Eagle test suite prologue by the unit test infrastructure. check-in: 952a76d607 user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Added Externals/Eagle/bin/EagleShell32.exe.

cannot compute difference between binary files

Changes to Setup/clean.bat.

   446    446       %_AECHO% Deleted "%TEMP%\EagleShell.exe.test.*.log".
   447    447       %_AECHO%.
   448    448     )
   449    449   ) ELSE (
   450    450     %_AECHO% No files matching "%TEMP%\EagleShell.exe.test.*.log" exist.
   451    451     %_AECHO%.
   452    452   )
          453  +
          454  +IF EXIST "%TEMP%\EagleShell32.exe.test.*.log" (
          455  +  %__ECHO% DEL /Q "%TEMP%\EagleShell32.exe.test.*.log"
          456  +
          457  +  IF ERRORLEVEL 1 (
          458  +    ECHO Could not delete "%TEMP%\EagleShell32.exe.test.*.log".
          459  +    ECHO.
          460  +    GOTO errors
          461  +  ) ELSE (
          462  +    %_AECHO% Deleted "%TEMP%\EagleShell32.exe.test.*.log".
          463  +    %_AECHO%.
          464  +  )
          465  +) ELSE (
          466  +  %_AECHO% No files matching "%TEMP%\EagleShell32.exe.test.*.log" exist.
          467  +  %_AECHO%.
          468  +)
   453    469   
   454    470   IF EXIST "%TEMP%\mono.exe.test.*.log" (
   455    471     %__ECHO% DEL /Q "%TEMP%\mono.exe.test.*.log"
   456    472   
   457    473     IF ERRORLEVEL 1 (
   458    474       ECHO Could not delete "%TEMP%\mono.exe.test.*.log".
   459    475       ECHO.

Changes to Setup/test.bat.

    63     63   IF NOT DEFINED POSTARGS (
    64     64     %_AECHO% No post-arguments specified, using default...
    65     65     SET POSTARGS=-file "%TESTFILE%"
    66     66   )
    67     67   
    68     68   %_VECHO% PostArgs = '%POSTARGS%'
    69     69   
    70         -%_CECHO% Externals\Eagle\bin\EagleShell.exe %PREARGS% %* %POSTARGS%
    71         -%__ECHO% Externals\Eagle\bin\EagleShell.exe %PREARGS% %* %POSTARGS%
           70  +IF NOT DEFINED 32BITONLY (
           71  +  SET EAGLESHELL=EagleShell.exe
           72  +) ELSE (
           73  +  SET EAGLESHELL=EagleShell32.exe
           74  +)
           75  +
           76  +%_VECHO% EagleShell = '%EAGLESHELL%'
           77  +
           78  +%_CECHO% "Externals\Eagle\bin\%EAGLESHELL%" %PREARGS% %* %POSTARGS%
           79  +%__ECHO% "Externals\Eagle\bin\%EAGLESHELL%" %PREARGS% %* %POSTARGS%
    72     80   
    73     81   IF ERRORLEVEL 1 (
    74     82     ECHO Received non-zero return code from the Eagle Shell.
    75     83     GOTO errors
    76     84   )
    77     85   
    78     86   %__ECHO2% POPD

Changes to Setup/test_all.bat.

    89     89   
    90     90   IF NOT DEFINED TEST_FILE (
    91     91     SET TEST_FILE=Tests\all.eagle
    92     92   )
    93     93   
    94     94   %_VECHO% TestFile = '%TEST_FILE%'
    95     95   
           96  +IF NOT DEFINED 32BITONLY (
           97  +  SET EAGLESHELL=EagleShell.exe
           98  +) ELSE (
           99  +  SET EAGLESHELL=EagleShell32.exe
          100  +)
          101  +
          102  +%_VECHO% EagleShell = '%EAGLESHELL%'
          103  +
    96    104   %__ECHO2% PUSHD "%ROOT%"
    97    105   
    98    106   IF ERRORLEVEL 1 (
    99    107     ECHO Could not change directory to "%ROOT%".
   100    108     GOTO errors
   101    109   )
   102    110   
................................................................................
   105    113   REM       determine that testing is being performed in batch mode.
   106    114   REM
   107    115   SET TEST_ALL=1
   108    116   
   109    117   FOR %%C IN (%TEST_CONFIGURATIONS%) DO (
   110    118     FOR %%Y IN (%YEARS%) DO (
   111    119       IF NOT DEFINED NOMANAGEDONLY (
   112         -      %__ECHO% Externals\Eagle\bin\EagleShell.exe -anyInitialize "set test_year {%%Y}; set test_configuration {%%C}" -file "%TEST_FILE%"
          120  +      %__ECHO% "Externals\Eagle\bin\%EAGLESHELL%" -anyInitialize "set test_year {%%Y}; set test_configuration {%%C}" -file "%TEST_FILE%"
   113    121   
   114    122         IF ERRORLEVEL 1 (
   115    123           ECHO Testing of "%%Y/%%C" managed-only assembly failed.
   116    124           GOTO errors
   117    125         )
   118    126       )
   119    127   
................................................................................
   178    186   
   179    187           IF ERRORLEVEL 1 (
   180    188             ECHO Failed to copy "bin\%%Y\%%C\bin\Installer.*" to "bin\%%Y\%PLATFORM%\%%C".
   181    189             GOTO errors
   182    190           )
   183    191         )
   184    192   
   185         -      %__ECHO% Externals\Eagle\bin\EagleShell.exe -preInitialize "set test_year {%%Y}; set test_configuration {%%C}" -initialize -runtimeOption native -file "%TEST_FILE%"
          193  +      %__ECHO% "Externals\Eagle\bin\%EAGLESHELL%" -preInitialize "set test_year {%%Y}; set test_configuration {%%C}" -initialize -runtimeOption native -file "%TEST_FILE%"
   186    194   
   187    195         IF ERRORLEVEL 1 (
   188    196           ECHO Testing of "%%Y/%%C" mixed-mode assembly failed.
   189    197           GOTO errors
   190    198         )
   191    199       )
   192    200     )

Changes to Setup/test_ce_200x.bat.

    85     85     IF DEFINED VS2008SP (
    86     86       CALL :fn_AppendVariable YEARS " 2008"
    87     87     )
    88     88   )
    89     89   
    90     90   %_VECHO% Years = '%YEARS%'
    91     91   
           92  +IF NOT DEFINED 32BITONLY (
           93  +  SET EAGLESHELL=EagleShell.exe
           94  +) ELSE (
           95  +  SET EAGLESHELL=EagleShell32.exe
           96  +)
           97  +
           98  +%_VECHO% EagleShell = '%EAGLESHELL%'
           99  +
    92    100   FOR %%C IN (%TEST_CONFIGURATIONS%) DO (
    93    101     FOR %%P IN (%PLATFORMS%) DO (
    94    102       FOR %%Y IN (%YEARS%) DO (
    95         -      %__ECHO% EagleShell.exe -file "%TOOLS%\deployAndTestCe.eagle" %%Y %%P %%C
          103  +      %__ECHO% "%EAGLESHELL%" -file "%TOOLS%\deployAndTestCe.eagle" %%Y %%P %%C
    96    104   
    97    105         IF ERRORLEVEL 1 (
    98    106           ECHO Tests failed for %%C/%%P/%%Y binaries.
    99    107           GOTO errors
   100    108         )
   101    109       )
   102    110     )

Changes to exclude_src.txt.

    11     11   *.zip
    12     12   .fossil-settings/*
    13     13   _FOSSIL_
    14     14   bin/*
    15     15   Doc/Output/*
    16     16   Externals/Eagle/bin/Eagle.dll
    17     17   Externals/Eagle/bin/EagleShell.exe
           18  +Externals/Eagle/bin/EagleShell32.exe
    18     19   Externals/Eagle/bin/EntityFramework.*
    19     20   Externals/Eagle/bin/SQLite.Interop.*
    20     21   Externals/Eagle/bin/sqlite3.*
    21     22   Externals/Eagle/bin/System.*
    22     23   Externals/Eagle/bin/Win32/*
    23     24   Externals/Eagle/bin/x64/*
    24     25   Externals/Eagle/bin/x86/*