Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Adjust test constraints to work around .NET Core issues. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | netStandard20 |
Files: | files | file ages | folders |
SHA1: |
c11f98fd5ba3b3d5ab7922896815567a |
User & Date: | mistachkin 2018-04-06 10:34:00.981 |
Context
2018-04-06
| ||
10:34 | More updates to the Eagle script library in externals. check-in: e394825ba4 user: mistachkin tags: netStandard20 | |
10:34 | Adjust test constraints to work around .NET Core issues. check-in: c11f98fd5b user: mistachkin tags: netStandard20 | |
10:05 | Fix a couple test typos. check-in: efce1eacab user: mistachkin tags: netStandard20 | |
Changes
Changes to Tests/thread.eagle.
︙ | ︙ | |||
454 455 456 457 458 459 460 | [collectGarbage $test_channel [expr {$count(1) * 1000}] false] \ [getSQLiteHandleCounts $test_channel] \ [reportSQLiteResources $test_channel] } -cleanup { cleanupDb $fileName unset -nocomplain result results errors code sql dataSource id db fileName | | | | | | | 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 | [collectGarbage $test_channel [expr {$count(1) * 1000}] false] \ [getSQLiteHandleCounts $test_channel] \ [reportSQLiteResources $test_channel] } -cleanup { cleanupDb $fileName unset -nocomplain result results errors code sql dataSource id db fileName } -time true -constraints [fixConstraints {eagle command.object monoBug28\ monoCrash211 monoCrash42 monoBug46 command.sql compile.DATA SQLite\ System.Data.SQLite compileCSharp !dotNetCore}] -match regexp -result \ [appendArgs "^Ok System#CodeDom#Compiler#CompilerResults#\\d+ \\{\\} 0 \\{\\d+\ \\d+ " $count(1) "\\} \\{\\} \\{" $handle_counts "\\} " $memory_used \$]} ############################################################################### unset -nocomplain count ############################################################################### |
︙ | ︙ |
Changes to Tests/tkt-5cee5409f8.eagle.
︙ | ︙ | |||
16 17 18 19 20 21 22 23 24 25 26 27 28 29 | ############################################################################### package require System.Data.SQLite.Test runSQLiteTestPrologue ############################################################################### runTest {test tkt-5cee5409f8-1.1 {asynchronous transaction handling} -setup { setupDb [set fileName tkt-5cee5409f8-1.1.db] } -body { sql execute $db "CREATE TABLE t1(x INTEGER);" set id [object invoke Interpreter.GetActive NextId] set dataSource [file join [getDatabaseDirectory] $fileName] | > > > > | 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | ############################################################################### package require System.Data.SQLite.Test runSQLiteTestPrologue ############################################################################### # # NOTE: This test is disabled for .NET Core due to its lack of support for # distributed transactions. # runTest {test tkt-5cee5409f8-1.1 {asynchronous transaction handling} -setup { setupDb [set fileName tkt-5cee5409f8-1.1.db] } -body { sql execute $db "CREATE TABLE t1(x INTEGER);" set id [object invoke Interpreter.GetActive NextId] set dataSource [file join [getDatabaseDirectory] $fileName] |
︙ | ︙ | |||
205 206 207 208 209 210 211 | } result] : [set result ""]}] \ [expr {[lindex $result 0] > 0}] \ [expr {[lindex $result 1] > 0}] } -cleanup { cleanupDb $fileName unset -nocomplain result results errors code dataSource id db fileName | | | | > | 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 | } result] : [set result ""]}] \ [expr {[lindex $result 0] > 0}] \ [expr {[lindex $result 1] > 0}] } -cleanup { cleanupDb $fileName unset -nocomplain result results errors code dataSource id db fileName } -constraints [fixConstraints {eagle command.object monoBug211 monoBug510\ command.sql compile.DATA SQLite System.Data.SQLite compileCSharp !dotNetCore}] \ -match regexp -result {^Ok System#CodeDom#Compiler#CompilerResults#\d+ \{\} 0\ True True$}} ############################################################################### runSQLiteTestEpilogue runTestEpilogue |