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

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

Overview
Comment:Adjust the test constraints impacted by Mono 5.12.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: fa2e15166be7a558af10d1876a24d89f0ca4937a
User & Date: mistachkin 2018-07-11 01:36:26
Context
2018-07-12
11:23
Adjust the previous check-in so that 'implicit' SQLite interop assembly files are always copied during the testing process when not running on Windows. check-in: 58390110cb user: mistachkin tags: trunk
2018-07-11
01:36
Adjust the test constraints impacted by Mono 5.12. check-in: fa2e15166b user: mistachkin tags: trunk
2018-07-10
11:10
Add another test to verify the behavior of read-only connections with respect to the connection pool. See also check-in [14d18ee82623c85f]. check-in: 5e689a7650 user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to Externals/Eagle/lib/Eagle1.0/vendor.eagle.

   462    462       set no(emitSharedFlagsIfNone) 1
   463    463       set no(emitGlobalFlagsIfNone) 1
   464    464       set no(emitCombinedFlagsIfNone) 1
   465    465   
   466    466       #
   467    467       # NOTE: Force use of the native library pre-loader when applicable.
   468    468       #
   469         -    set no(deleteSqliteImplicitNativeFiles) 1
   470         -    set no(copySqliteImplicitNativeFiles) 1
          469  +    if {![isMono]} then {
          470  +      set no(deleteSqliteImplicitNativeFiles) 1
          471  +      set no(copySqliteImplicitNativeFiles) 1
          472  +    }
   471    473     }
   472    474   }
   473    475   
   474    476   ###############################################################################
   475    477   ############################### END VENDOR CODE ###############################
   476    478   ###############################################################################

Changes to Tests/tkt-56b42d99c1.eagle.

    95     95         [expr {$code eq "Ok" ? [catch {
    96     96           object invoke _Dynamic${id}.Test${id} TryEnlistInTransaction
    97     97         } result] : [set result ""]}] $result
    98     98   } -cleanup {
    99     99     cleanupDb $fileName
   100    100   
   101    101     unset -nocomplain result results errors code dataSource id db fileName
   102         -} -constraints {eagle command.object monoBug211 monoBug510 command.sql\
          102  +} -constraints {eagle command.object monoBug211 monoBug512 command.sql\
   103    103   compile.DATA SQLite System.Data.SQLite compileCSharp} -match regexp -result \
   104    104   {^Ok System#CodeDom#Compiler#CompilerResults#\d+ \{\} 0 True$}}
   105    105   
   106    106   ###############################################################################
   107    107   
   108    108   runTest {test tkt-56b42d99c1-1.2 {enlisted transaction isolation} -setup {
   109    109     setupDb [set fileName tkt-56b42d99c1-1.2.db]
................................................................................
   172    172         [expr {$code eq "Ok" ? [catch {
   173    173           object invoke _Dynamic${id}.Test${id} Main
   174    174         } result] : [set result ""]}] $result
   175    175   } -cleanup {
   176    176     cleanupDb $fileName
   177    177   
   178    178     unset -nocomplain result results errors code sql dataSource id db fileName
   179         -} -constraints {eagle command.object monoBug211 monoBug510 command.sql\
          179  +} -constraints {eagle command.object monoBug211 monoBug512 command.sql\
   180    180   compile.DATA SQLite System.Data.SQLite compileCSharp} -match regexp -result \
   181    181   {^Ok System#CodeDom#Compiler#CompilerResults#\d+ \{\} 0 0$}}
   182    182   
   183    183   ###############################################################################
   184    184   
   185    185   runTest {test tkt-56b42d99c1-1.3 {enlisted transaction isolation} -setup {
   186    186     setupDb [set fileName tkt-56b42d99c1-1.3.db]
................................................................................
   403    403         [expr {$code eq "Ok" ? [catch {
   404    404           object invoke _Dynamic${id}.Test${id} Main
   405    405         } result] : [set result ""]}] $result
   406    406   } -cleanup {
   407    407     cleanupDb $fileName
   408    408   
   409    409     unset -nocomplain result results errors code sql dataSource id db fileName
   410         -} -constraints {eagle command.object monoBug211 monoBug510 command.sql\
          410  +} -constraints {eagle command.object monoBug211 monoBug512 command.sql\
   411    411   compile.DATA SQLite System.Data.SQLite compileCSharp} -match regexp -result \
   412    412   {^Ok System#CodeDom#Compiler#CompilerResults#\d+ \{\} 0 1$}}
   413    413   
   414    414   ###############################################################################
   415    415   
   416    416   set flags MapIsolationLevels
   417    417   
................................................................................
   492    492         [expr {$code eq "Ok" ? [catch {
   493    493           object invoke _Dynamic${id}.Test${id} TryEnlistInTransaction
   494    494         } result] : [set result ""]}] $result
   495    495   } -cleanup {
   496    496     cleanupDb $fileName
   497    497   
   498    498     unset -nocomplain result results errors code dataSource id db fileName
   499         -} -constraints {eagle command.object monoBug28 monoBug211 monoBug510 command.sql\
          499  +} -constraints {eagle command.object monoBug28 monoBug211 monoBug512 command.sql\
   500    500   compile.DATA SQLite System.Data.SQLite compileCSharp} -match regexp -result \
   501    501   {^Ok System#CodeDom#Compiler#CompilerResults#\d+ \{\} 0 True$}}
   502    502   
   503    503   ###############################################################################
   504    504   
   505    505   runTest {test tkt-56b42d99c1-1.7 {enlisted transaction isolation} -setup {
   506    506     setupDb [set fileName tkt-56b42d99c1-1.7.db]
................................................................................
   569    569         [expr {$code eq "Ok" ? [catch {
   570    570           object invoke _Dynamic${id}.Test${id} Main
   571    571         } result] : [set result ""]}] $result
   572    572   } -cleanup {
   573    573     cleanupDb $fileName
   574    574   
   575    575     unset -nocomplain result results errors code sql dataSource id db fileName
   576         -} -constraints {eagle command.object monoBug28 monoBug211 monoBug510\
          576  +} -constraints {eagle command.object monoBug28 monoBug211 monoBug512\
   577    577   command.sql compile.DATA SQLite System.Data.SQLite compileCSharp} -match \
   578    578   regexp -result {^Ok System#CodeDom#Compiler#CompilerResults#\d+ \{\} 0 0$}}
   579    579   
   580    580   ###############################################################################
   581    581   
   582    582   runTest {test tkt-56b42d99c1-1.8 {enlisted transaction isolation} -setup {
   583    583     setupDb [set fileName tkt-56b42d99c1-1.8.db]
................................................................................
   800    800         [expr {$code eq "Ok" ? [catch {
   801    801           object invoke _Dynamic${id}.Test${id} Main
   802    802         } result] : [set result ""]}] $result
   803    803   } -cleanup {
   804    804     cleanupDb $fileName
   805    805   
   806    806     unset -nocomplain result results errors code sql dataSource id db fileName
   807         -} -constraints {eagle command.object monoBug28 monoBug211 monoBug510\
          807  +} -constraints {eagle command.object monoBug28 monoBug211 monoBug512\
   808    808   command.sql compile.DATA SQLite System.Data.SQLite compileCSharp} -match \
   809    809   regexp -result {^Ok System#CodeDom#Compiler#CompilerResults#\d+ \{\} 0 1$}}
   810    810   
   811    811   ###############################################################################
   812    812   
   813    813   unset -nocomplain flags
   814    814   
   815    815   ###############################################################################
   816    816   
   817    817   runSQLiteTestEpilogue
   818    818   runTestEpilogue

Changes to Tests/tkt-5cee5409f8.eagle.

   209    209         } result] : [set result ""]}] \
   210    210         [expr {[lindex $result 0] > 0}] \
   211    211         [expr {[lindex $result 1] > 0}]
   212    212   } -cleanup {
   213    213     cleanupDb $fileName
   214    214   
   215    215     unset -nocomplain result results errors code dataSource id db fileName
   216         -} -constraints [fixConstraints {eagle command.object monoBug211 monoBug510\
          216  +} -constraints [fixConstraints {eagle command.object monoBug211 monoBug512\
   217    217   command.sql compile.DATA SQLite System.Data.SQLite compileCSharp !dotNetCore}] \
   218    218   -match regexp -result {^Ok System#CodeDom#Compiler#CompilerResults#\d+ \{\} 0\
   219    219   True True$}}
   220    220   
   221    221   ###############################################################################
   222    222   
   223    223   runSQLiteTestEpilogue
   224    224   runTestEpilogue