System.Data.SQLite
Check-in [5b6f731c24]
Not logged in

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

Overview
Comment:Fix test issues with the .NET Framework 4.6.2.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | interopPostBuild
Files: files | file ages | folders
SHA1: 5b6f731c24b74b73dc8beeec1735f41b5f9aa364
User & Date: mistachkin 2016-08-31 23:35:15
Context
2016-08-31
23:50
Refactor project system and test suite handling of mixed-mode files. check-in: 64dd02f948 user: mistachkin tags: trunk
23:35
Fix test issues with the .NET Framework 4.6.2. Closed-Leaf check-in: 5b6f731c24 user: mistachkin tags: interopPostBuild
23:18
Minor coding style tweak. check-in: fff301fcef user: mistachkin tags: interopPostBuild
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to Tests/installer.eagle.

    36     36     set output ""
    37     37   
    38     38     set code [catch {
    39     39       testClrExec $installerExeFile [list -eventflags Wait -stdout output \
    40     40           -success 0] -debugPriority Lowest -tracePriority MediumHigh \
    41     41           -noRuntimeVersion true -noCompact true -noNetFx35 true \
    42     42           -noNetFx40 true -noNetFx45 true -noNetFx451 true -noNetFx452 true \
    43         -        -noNetFx46 true -noNetFx461 true -noVs2008 true -noVs2010 true \
    44         -        -noVs2012 true -noVs2013 true -noVs2015 true -whatIf true \
    45         -        -verbose true -confirm true -install true -debug true -wow64 true \
           43  +        -noNetFx46 true -noNetFx461 true -noNetFx462 true -noVs2008 true \
           44  +        -noVs2010 true -noVs2012 true -noVs2013 true -noVs2015 true \
           45  +        -whatIf true -verbose true -confirm true -install true -debug true \
           46  +        -wow64 true \
    46     47           -logFileName [appendArgs \" [file nativename $fileName] \"] \
    47     48           -traceFormat [appendArgs \" "#{0}: {2}" \"]
    48     49     } error]
    49     50   
    50     51     tlog "---- BEGIN STDOUT OUTPUT\n"
    51     52     tlog $output
    52     53     tlog "\n---- END STDOUT OUTPUT\n"
................................................................................
    77     78     set output ""
    78     79   
    79     80     set code [catch {
    80     81       testClrExec $installerExeFile [list -eventflags Wait -stdout output \
    81     82           -success 0] -debugPriority Lowest -tracePriority MediumHigh \
    82     83           -noRuntimeVersion true -noCompact true -noNetFx35 true \
    83     84           -noNetFx40 true -noNetFx45 true -noNetFx451 true -noNetFx452 true \
    84         -        -noNetFx46 true -noNetFx461 true -noVs2008 true -noVs2010 true \
    85         -        -noVs2012 true -noVs2013 true -noVs2015 true -whatIf true \
    86         -        -verbose true -confirm true -install false -debug true -wow64 true \
           85  +        -noNetFx46 true -noNetFx461 true -noNetFx462 true -noVs2008 true \
           86  +        -noVs2010 true -noVs2012 true -noVs2013 true -noVs2015 true \
           87  +        -whatIf true -verbose true -confirm true -install false -debug true \
           88  +        -wow64 true \
    87     89           -logFileName [appendArgs \" [file nativename $fileName] \"] \
    88     90           -traceFormat [appendArgs \" "#{0}: {2}" \"]
    89     91     } error]
    90     92   
    91     93     tlog "---- BEGIN STDOUT OUTPUT\n"
    92     94     tlog $output
    93     95     tlog "\n---- END STDOUT OUTPUT\n"
................................................................................
   118    120     set output ""
   119    121   
   120    122     set code [catch {
   121    123       testClrExec $installerExeFile [list -eventflags Wait -stdout output \
   122    124           -success 0] -debugPriority Lowest -tracePriority MediumHigh \
   123    125           -noRuntimeVersion true -noCompact true -noNetFx40 true \
   124    126           -noNetFx45 true -noNetFx451 true -noNetFx452 true -noNetFx46 true \
   125         -        -noNetFx461 true -noVs2005 true -noVs2010 true -noVs2012 true \
   126         -        -noVs2013 true -noVs2015 true -whatIf true -verbose true \
   127         -        -confirm true -install true -debug true -wow64 true \
          127  +        -noNetFx461 true -noNetFx462 true -noVs2005 true -noVs2010 true \
          128  +        -noVs2012 true -noVs2013 true -noVs2015 true -whatIf true \
          129  +        -verbose true -confirm true -install true -debug true -wow64 true \
   128    130           -logFileName [appendArgs \" [file nativename $fileName] \"] \
   129    131           -traceFormat [appendArgs \" "#{0}: {2}" \"]
   130    132     } error]
   131    133   
   132    134     tlog "---- BEGIN STDOUT OUTPUT\n"
   133    135     tlog $output
   134    136     tlog "\n---- END STDOUT OUTPUT\n"
................................................................................
   159    161     set output ""
   160    162   
   161    163     set code [catch {
   162    164       testClrExec $installerExeFile [list -eventflags Wait -stdout output \
   163    165           -success 0] -debugPriority Lowest -tracePriority MediumHigh \
   164    166           -noRuntimeVersion true -noCompact true -noNetFx40 true \
   165    167           -noNetFx45 true -noNetFx451 true -noNetFx452 true -noNetFx46 true \
   166         -        -noNetFx461 true -noVs2005 true -noVs2010 true -noVs2012 true \
   167         -        -noVs2013 true -noVs2015 true -whatIf true -verbose true \
   168         -        -confirm true -install false -debug true -wow64 true \
          168  +        -noNetFx461 true -noNetFx462 true -noVs2005 true -noVs2010 true \
          169  +        -noVs2012 true -noVs2013 true -noVs2015 true -whatIf true \
          170  +        -verbose true -confirm true -install false -debug true -wow64 true \
   169    171           -logFileName [appendArgs \" [file nativename $fileName] \"] \
   170    172           -traceFormat [appendArgs \" "#{0}: {2}" \"]
   171    173     } error]
   172    174   
   173    175     tlog "---- BEGIN STDOUT OUTPUT\n"
   174    176     tlog $output
   175    177     tlog "\n---- END STDOUT OUTPUT\n"
................................................................................
   200    202     set output ""
   201    203   
   202    204     set code [catch {
   203    205       testClrExec $installerExeFile [list -eventflags Wait -stdout output \
   204    206           -success 0] -debugPriority Lowest -tracePriority MediumHigh \
   205    207           -noRuntimeVersion true -noCompact true -noNetFx20 true \
   206    208           -noNetFx35 true -noNetFx45 true -noNetFx451 true -noNetFx452 true \
   207         -        -noNetFx46 true -noNetFx461 true -noVs2005 true -noVs2008 true \
   208         -        -noVs2012 true -noVs2013 true -noVs2015 true -whatIf true \
   209         -        -verbose true -confirm true -install true -debug true -wow64 true \
          209  +        -noNetFx46 true -noNetFx461 true -noNetFx462 true -noVs2005 true \
          210  +        -noVs2008 true -noVs2012 true -noVs2013 true -noVs2015 true \
          211  +        -whatIf true -verbose true -confirm true -install true -debug true \
          212  +        -wow64 true \
   210    213           -logFileName [appendArgs \" [file nativename $fileName] \"] \
   211    214           -traceFormat [appendArgs \" "#{0}: {2}" \"]
   212    215     } error]
   213    216   
   214    217     tlog "---- BEGIN STDOUT OUTPUT\n"
   215    218     tlog $output
   216    219     tlog "\n---- END STDOUT OUTPUT\n"
................................................................................
   242    245     set output ""
   243    246   
   244    247     set code [catch {
   245    248       testClrExec $installerExeFile [list -eventflags Wait -stdout output \
   246    249           -success 0] -debugPriority Lowest -tracePriority MediumHigh \
   247    250           -noRuntimeVersion true -noCompact true -noNetFx20 true \
   248    251           -noNetFx35 true -noNetFx45 true -noNetFx451 true -noNetFx452 true \
   249         -        -noNetFx46 true -noNetFx461 true -noVs2005 true -noVs2008 true \
   250         -        -noVs2012 true -noVs2013 true -noVs2015 true -whatIf true \
   251         -        -verbose true -confirm true -install false -debug true -wow64 true \
          252  +        -noNetFx46 true -noNetFx461 true -noNetFx462 true -noVs2005 true \
          253  +        -noVs2008 true -noVs2012 true -noVs2013 true -noVs2015 true \
          254  +        -whatIf true -verbose true -confirm true -install false -debug true \
          255  +        -wow64 true \
   252    256           -logFileName [appendArgs \" [file nativename $fileName] \"] \
   253    257           -traceFormat [appendArgs \" "#{0}: {2}" \"]
   254    258     } error]
   255    259   
   256    260     tlog "---- BEGIN STDOUT OUTPUT\n"
   257    261     tlog $output
   258    262     tlog "\n---- END STDOUT OUTPUT\n"
................................................................................
   284    288     set output ""
   285    289   
   286    290     set code [catch {
   287    291       testClrExec $installerExeFile [list -eventflags Wait -stdout output \
   288    292           -success 0] -debugPriority Lowest -tracePriority MediumHigh \
   289    293           -noRuntimeVersion true -noCompact true -noNetFx20 true \
   290    294           -noNetFx35 true -noNetFx40 true -noNetFx451 true -noNetFx452 true \
   291         -        -noNetFx46 true -noNetFx461 true -noVs2005 true -noVs2008 true \
   292         -        -noVs2010 true -noVs2013 true -noVs2015 true -whatIf true \
   293         -        -verbose true -confirm true -install true -debug true -wow64 true \
   294         -        -configVersion 4.0.30319 \
          295  +        -noNetFx46 true -noNetFx461 true -noNetFx462 true -noVs2005 true \
          296  +        -noVs2008 true -noVs2010 true -noVs2013 true -noVs2015 true \
          297  +        -whatIf true -verbose true -confirm true -install true -debug true \
          298  +        -wow64 true -configVersion 4.0.30319 \
   295    299           -logFileName [appendArgs \" [file nativename $fileName] \"] \
   296    300           -traceFormat [appendArgs \" "#{0}: {2}" \"]
   297    301     } error]
   298    302   
   299    303     tlog "---- BEGIN STDOUT OUTPUT\n"
   300    304     tlog $output
   301    305     tlog "\n---- END STDOUT OUTPUT\n"
................................................................................
   327    331     set output ""
   328    332   
   329    333     set code [catch {
   330    334       testClrExec $installerExeFile [list -eventflags Wait -stdout output \
   331    335           -success 0] -debugPriority Lowest -tracePriority MediumHigh \
   332    336           -noRuntimeVersion true -noCompact true -noNetFx20 true \
   333    337           -noNetFx35 true -noNetFx40 true -noNetFx451 true -noNetFx452 true \
   334         -        -noNetFx46 true -noNetFx461 true -noVs2005 true -noVs2008 true \
   335         -        -noVs2010 true -noVs2013 true -noVs2015 true -whatIf true \
   336         -        -verbose true -confirm true -install false -debug true -wow64 true \
   337         -        -configVersion 4.0.30319 \
          338  +        -noNetFx46 true -noNetFx461 true -noNetFx462 true -noVs2005 true \
          339  +        -noVs2008 true -noVs2010 true -noVs2013 true -noVs2015 true \
          340  +        -whatIf true -verbose true -confirm true -install false -debug true \
          341  +        -wow64 true -configVersion 4.0.30319 \
   338    342           -logFileName [appendArgs \" [file nativename $fileName] \"] \
   339    343           -traceFormat [appendArgs \" "#{0}: {2}" \"]
   340    344     } error]
   341    345   
   342    346     tlog "---- BEGIN STDOUT OUTPUT\n"
   343    347     tlog $output
   344    348     tlog "\n---- END STDOUT OUTPUT\n"
................................................................................
   370    374     set output ""
   371    375   
   372    376     set code [catch {
   373    377       testClrExec $installerExeFile [list -eventflags Wait -stdout output \
   374    378           -success 0] -debugPriority Lowest -tracePriority MediumHigh \
   375    379           -noRuntimeVersion true -noCompact true -noNetFx20 true \
   376    380           -noNetFx35 true -noNetFx40 true -noNetFx45 true -noNetFx452 true \
   377         -        -noNetFx46 true -noNetFx461 true -noVs2005 true -noVs2008 true \
   378         -        -noVs2010 true -noVs2012 true -noVs2015 true -whatIf true \
   379         -        -verbose true -confirm true -install true -debug true -wow64 true \
   380         -        -configVersion 4.0.30319 \
          381  +        -noNetFx46 true -noNetFx461 true -noNetFx462 true -noVs2005 true \
          382  +        -noVs2008 true -noVs2010 true -noVs2012 true -noVs2015 true \
          383  +        -whatIf true -verbose true -confirm true -install true -debug true \
          384  +        -wow64 true -configVersion 4.0.30319 \
   381    385           -logFileName [appendArgs \" [file nativename $fileName] \"] \
   382    386           -traceFormat [appendArgs \" "#{0}: {2}" \"]
   383    387     } error]
   384    388   
   385    389     tlog "---- BEGIN STDOUT OUTPUT\n"
   386    390     tlog $output
   387    391     tlog "\n---- END STDOUT OUTPUT\n"
................................................................................
   413    417     set output ""
   414    418   
   415    419     set code [catch {
   416    420       testClrExec $installerExeFile [list -eventflags Wait -stdout output \
   417    421           -success 0] -debugPriority Lowest -tracePriority MediumHigh \
   418    422           -noRuntimeVersion true -noCompact true -noNetFx20 true \
   419    423           -noNetFx35 true -noNetFx40 true -noNetFx45 true -noNetFx452 true \
   420         -        -noNetFx46 true -noNetFx461 true -noVs2005 true -noVs2008 true \
   421         -        -noVs2010 true -noVs2012 true -noVs2015 true -whatIf true \
   422         -        -verbose true -confirm true -install false -debug true -wow64 true \
   423         -        -configVersion 4.0.30319 \
          424  +        -noNetFx46 true -noNetFx461 true -noNetFx462 true -noVs2005 true \
          425  +        -noVs2008 true -noVs2010 true -noVs2012 true -noVs2015 true \
          426  +        -whatIf true -verbose true -confirm true -install false -debug true \
          427  +        -wow64 true -configVersion 4.0.30319 \
   424    428           -logFileName [appendArgs \" [file nativename $fileName] \"] \
   425    429           -traceFormat [appendArgs \" "#{0}: {2}" \"]
   426    430     } error]
   427    431   
   428    432     tlog "---- BEGIN STDOUT OUTPUT\n"
   429    433     tlog $output
   430    434     tlog "\n---- END STDOUT OUTPUT\n"
................................................................................
   456    460     set output ""
   457    461   
   458    462     set code [catch {
   459    463       testClrExec $installerExeFile [list -eventflags Wait -stdout output \
   460    464           -success 0] -debugPriority Lowest -tracePriority MediumHigh \
   461    465           -noRuntimeVersion true -noCompact true -noNetFx20 true \
   462    466           -noNetFx35 true -noNetFx40 true -noNetFx45 true -noNetFx451 true \
   463         -        -noNetFx452 true -noNetFx461 true -noVs2005 true -noVs2008 true \
   464         -        -noVs2010 true -noVs2012 true -noVs2013 true -whatIf true \
   465         -        -verbose true -confirm true -install true -debug true -wow64 true \
   466         -        -configVersion 4.0.30319 \
          467  +        -noNetFx452 true -noNetFx461 true -noNetFx462 true -noVs2005 true \
          468  +        -noVs2008 true -noVs2010 true -noVs2012 true -noVs2013 true \
          469  +        -whatIf true -verbose true -confirm true -install true -debug true \
          470  +        -wow64 true -configVersion 4.0.30319 \
   467    471           -logFileName [appendArgs \" [file nativename $fileName] \"] \
   468    472           -traceFormat [appendArgs \" "#{0}: {2}" \"]
   469    473     } error]
   470    474   
   471    475     tlog "---- BEGIN STDOUT OUTPUT\n"
   472    476     tlog $output
   473    477     tlog "\n---- END STDOUT OUTPUT\n"
................................................................................
   499    503     set output ""
   500    504   
   501    505     set code [catch {
   502    506       testClrExec $installerExeFile [list -eventflags Wait -stdout output \
   503    507           -success 0] -debugPriority Lowest -tracePriority MediumHigh \
   504    508           -noRuntimeVersion true -noCompact true -noNetFx20 true \
   505    509           -noNetFx35 true -noNetFx40 true -noNetFx45 true -noNetFx451 true \
   506         -        -noNetFx452 true -noNetFx461 true -noVs2005 true -noVs2008 true \
   507         -        -noVs2010 true -noVs2012 true -noVs2013 true -whatIf true \
   508         -        -verbose true -confirm true -install false -debug true -wow64 true \
   509         -        -configVersion 4.0.30319 \
          510  +        -noNetFx452 true -noNetFx461 true -noNetFx462 true -noVs2005 true \
          511  +        -noVs2008 true -noVs2010 true -noVs2012 true -noVs2013 true \
          512  +        -whatIf true -verbose true -confirm true -install false -debug true \
          513  +        -wow64 true -configVersion 4.0.30319 \
   510    514           -logFileName [appendArgs \" [file nativename $fileName] \"] \
   511    515           -traceFormat [appendArgs \" "#{0}: {2}" \"]
   512    516     } error]
   513    517   
   514    518     tlog "---- BEGIN STDOUT OUTPUT\n"
   515    519     tlog $output
   516    520     tlog "\n---- END STDOUT OUTPUT\n"

Changes to lib/System.Data.SQLite/common.eagle.

  3722   3722           }
  3723   3723         }
  3724   3724       }
  3725   3725   
  3726   3726       proc copySampleDatabaseFiles {} {
  3727   3727         uplevel 1 {
  3728   3728           #
  3729         -        # NOTE: Re-copy the reference database file used for this unit test to
  3730         -        #       the build directory in case it has been changed by a previous
  3731         -        #       test run.
         3729  +        # NOTE: Copy (or re-copy) the reference database file used for this
         3730  +        #       unit test to the build directory in case it has been changed
         3731  +        #       by a previous test run.
  3732   3732           #
  3733   3733           file copy -force $northwindEfDbFile \
  3734   3734             [file join [getBuildDirectory true] [file tail $northwindEfDbFile]]
  3735   3735         }
  3736   3736       }
  3737   3737   
  3738   3738       proc runSQLiteTestPrologue {} {