System.Data.SQLite
Check-in [2b8809c689]
Not logged in

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

Overview
Comment:More test script changes.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | preRelease
Files: files | file ages | folders
SHA1:2b8809c6895f5ce98cc7da23c3277b141bce13a6
User & Date: mistachkin 2018-08-05 03:16:59
Context
2018-08-05
03:17
Fix test suite infrastructure issue that prevented the sample database file from being re-copied between tests. check-in: e4a7ae120f user: mistachkin tags: preRelease
03:16
More test script changes. check-in: 2b8809c689 user: mistachkin tags: preRelease
02:40
Make sure the test log files end up in the associated binary directories, not the temporary directory. check-in: 015023cfbb user: mistachkin tags: preRelease
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to Setup/run-mono-tests-debug.sh.

     3      3   scriptdir=`dirname "$BASH_SOURCE"`
     4      4   
     5      5   if [[ -z "$SQLITE_NET_YEAR" ]]; then
     6      6     SQLITE_NET_YEAR=2013
     7      7   fi
     8      8   
     9      9   pushd "$scriptdir/.."
    10         -mono Externals/Eagle/bin/netFramework40/EagleShell.exe -preInitialize "set no(temporaryTestLog) true; set root_path {$scriptdir/..}; set test_configuration Debug; set test_year $SQLITE_NET_YEAR; set build_directory {bin/$SQLITE_NET_YEAR/Debug$SQLITE_NET_CONFIGURATION_SUFFIX/bin}" -file Tests/all.eagle "$@"
           10  +mono Externals/Eagle/bin/netFramework40/EagleShell.exe -preInitialize "set root_path {$scriptdir/..}; set test_configuration Debug; set test_year {$SQLITE_NET_YEAR}; set build_directory {bin/$SQLITE_NET_YEAR/Debug$SQLITE_NET_CONFIGURATION_SUFFIX/bin}" -file Tests/all.eagle "$@"
    11     11   popd

Changes to Setup/run-mono-tests-release.sh.

     3      3   scriptdir=`dirname "$BASH_SOURCE"`
     4      4   
     5      5   if [[ -z "$SQLITE_NET_YEAR" ]]; then
     6      6     SQLITE_NET_YEAR=2013
     7      7   fi
     8      8   
     9      9   pushd "$scriptdir/.."
    10         -mono Externals/Eagle/bin/netFramework40/EagleShell.exe -preInitialize "set no(temporaryTestLog) true; set root_path {$scriptdir/..}; set test_configuration Release; set test_year $SQLITE_NET_YEAR; set build_directory {bin/$SQLITE_NET_YEAR/Release$SQLITE_NET_CONFIGURATION_SUFFIX/bin}" -file Tests/all.eagle "$@"
           10  +mono Externals/Eagle/bin/netFramework40/EagleShell.exe -preInitialize "set root_path {$scriptdir/..}; set test_configuration Release; set test_year {$SQLITE_NET_YEAR}; set build_directory {bin/$SQLITE_NET_YEAR/Release$SQLITE_NET_CONFIGURATION_SUFFIX/bin}" -file Tests/all.eagle "$@"
    11     11   popd

Changes to Setup/run-netstandard20-tests-debug.sh.

    18     18   SQLITE_INTEROP_FILE=$SQLITE_INTEROP_DIR/$libname
    19     19   
    20     20   if [[ -f "${SQLITE_INTEROP_FILE}" ]]; then
    21     21     cp "$SQLITE_INTEROP_FILE" "$SQLITE_INTEROP_DIR/SQLite.Interop.dll"
    22     22     libname=SQLite.Interop.dll
    23     23   fi
    24     24   
    25         -dotnet exec Externals/Eagle/bin/netStandard20/EagleShell.dll -preInitialize "set no(temporaryTestLog) true; set test_configuration Debug; set test_configuration_suffix {$SQLITE_NET_CONFIGURATION_SUFFIX}; set test_year NetStandard20; set test_native_year $SQLITE_NET_YEAR" -file Tests/all.eagle "$@"
           25  +dotnet exec Externals/Eagle/bin/netStandard20/EagleShell.dll -preInitialize "set test_configuration Debug; set test_configuration_suffix {$SQLITE_NET_CONFIGURATION_SUFFIX}; set test_year NetStandard20; set test_native_year {$SQLITE_NET_YEAR}" -file Tests/all.eagle "$@"
    26     26   popd

Changes to Setup/run-netstandard20-tests-release.sh.

    18     18   SQLITE_INTEROP_FILE=$SQLITE_INTEROP_DIR/$libname
    19     19   
    20     20   if [[ -f "${SQLITE_INTEROP_FILE}" ]]; then
    21     21     cp "$SQLITE_INTEROP_FILE" "$SQLITE_INTEROP_DIR/SQLite.Interop.dll"
    22     22     libname=SQLite.Interop.dll
    23     23   fi
    24     24   
    25         -dotnet exec Externals/Eagle/bin/netStandard20/EagleShell.dll -preInitialize "set no(temporaryTestLog) true; set test_configuration Release; set test_configuration_suffix {$SQLITE_NET_CONFIGURATION_SUFFIX}; set test_year NetStandard20; set test_native_year $SQLITE_NET_YEAR" -file Tests/all.eagle "$@"
           25  +dotnet exec Externals/Eagle/bin/netStandard20/EagleShell.dll -preInitialize "set test_configuration Release; set test_configuration_suffix {$SQLITE_NET_CONFIGURATION_SUFFIX}; set test_year NetStandard20; set test_native_year {$SQLITE_NET_YEAR}" -file Tests/all.eagle "$@"
    26     26   popd

Changes to Setup/test_all.bat.

   139    139             IF ERRORLEVEL 1 (
   140    140               ECHO Failed to delete "bin\%%Y\%%C\bin\SQLite.Interop.*".
   141    141               GOTO errors
   142    142             )
   143    143           )
   144    144   
   145    145           IF NOT DEFINED NOMANAGEDONLY (
   146         -          %__ECHO% "Externals\Eagle\bin\netFramework40\%EAGLESHELL%" %PREARGS% -anyInitialize "set no(temporaryTestLog) true; set test_year {%%Y}; set test_configuration {%%C}" -file "%TEST_FILE%" %POSTARGS%
          146  +          %__ECHO% "Externals\Eagle\bin\netFramework40\%EAGLESHELL%" %PREARGS% -anyInitialize "set test_year {%%Y}; set test_configuration {%%C}" -file "%TEST_FILE%" %POSTARGS%
   147    147   
   148    148             IF ERRORLEVEL 1 (
   149    149               ECHO Testing of "%%Y/%%C" managed-only assembly failed.
   150    150               GOTO errors
   151    151             )
   152    152           )
   153    153   
................................................................................
   220    220   
   221    221                 IF ERRORLEVEL 1 (
   222    222                   ECHO Failed to copy "bin\%%Y\%%C\bin\Installer.*" to "bin\%%Y\%PLATFORM%\%%C".
   223    223                   GOTO errors
   224    224                 )
   225    225               )
   226    226   
   227         -            %__ECHO% "Externals\Eagle\bin\netFramework40\%EAGLESHELL%" %PREARGS% -preInitialize "set no(temporaryTestLog) true; set test_year {%%Y}; set test_configuration {%%C}" -initialize -runtimeOption native -file "%TEST_FILE%" %POSTARGS%
          227  +            %__ECHO% "Externals\Eagle\bin\netFramework40\%EAGLESHELL%" %PREARGS% -preInitialize "set test_year {%%Y}; set test_configuration {%%C}" -initialize -runtimeOption native -file "%TEST_FILE%" %POSTARGS%
   228    228   
   229    229               IF ERRORLEVEL 1 (
   230    230                 ECHO Testing of "%%Y/%%C" mixed-mode assembly failed.
   231    231                 GOTO errors
   232    232               )
   233    233             )
   234    234           ) ELSE (

Changes to Setup/test_net_standard_20.bat.

   179    179       CALL :fn_SetErrorLevel
   180    180       GOTO :EOF
   181    181     )
   182    182     SET CONFIGURATION=%NATIVE_CONFIGURATION%
   183    183     SET CONFIGURATION=%CONFIGURATION:NativeOnly=%
   184    184     IF EXIST "bin\%YEAR%\%CONFIGURATION%\bin" (
   185    185       IF EXIST "bin\%NATIVE_YEAR%\%PLATFORM%\%NATIVE_CONFIGURATION%" (
   186         -      %__ECHO% "%DOTNET%" %SUBCOMMANDS% "Externals\Eagle\bin\netStandard20\%EAGLESHELL%" %PREARGS% -anyInitialize "set no(temporaryTestLog) true; set test_year {%YEAR%}; set test_native_year {%NATIVE_YEAR%}; set test_configuration {%CONFIGURATION%}" -file "%TEST_FILE%" %POSTARGS%
          186  +      %__ECHO% "%DOTNET%" %SUBCOMMANDS% "Externals\Eagle\bin\netStandard20\%EAGLESHELL%" %PREARGS% -anyInitialize "set test_year {%YEAR%}; set test_native_year {%NATIVE_YEAR%}; set test_configuration {%CONFIGURATION%}" -file "%TEST_FILE%" %POSTARGS%
   187    187         IF ERRORLEVEL 1 (
   188    188           ECHO Testing of "%YEAR%/%NATIVE_YEAR%/%CONFIGURATION%" .NET Standard 2.0 assembly failed.
   189    189           CALL :fn_SetErrorLevel
   190    190           GOTO :EOF
   191    191         )
   192    192       ) ELSE (
   193    193         %_AECHO% Native directory "bin\%NATIVE_YEAR%\%PLATFORM%\%NATIVE_CONFIGURATION%" not found, skipped.