System.Data.SQLite
Check-in [92f27e48a2]
Not logged in

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

Overview
Comment:Tests for Windows-specific features should run only on Windows.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 92f27e48a29191fde6cc3c419dd7399ec4ced23d
User & Date: mistachkin 2016-03-22 17:34:35
Context
2016-03-22
17:40
One more Windows-specific test constraint. check-in: 48396b3765 user: mistachkin tags: trunk
17:34
Tests for Windows-specific features should run only on Windows. check-in: 92f27e48a2 user: mistachkin tags: trunk
17:01
More test portability enhancements. check-in: ae12ca01d9 user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to Tests/basic.eagle.

   403    403       }
   404    404     }
   405    405   
   406    406     cleanupDb $fileName
   407    407   
   408    408     unset -nocomplain result count interval savedCount savedInterval results \
   409    409         errors code dataSource id db fileName
   410         -} -constraints {eagle command.object monoBug28 command.sql compile.DATA SQLite\
   411         -System.Data.SQLite compileCSharp} -match regexp -result {^Ok\
          410  +} -constraints {eagle command.object windows monoBug28 command.sql compile.DATA\
          411  +SQLite System.Data.SQLite compileCSharp} -match regexp -result {^Ok\
   412    412   System#CodeDom#Compiler#CompilerResults#\d+ \{\} 0 True$}}
   413    413   
   414    414   ###############################################################################
   415    415   
   416    416   runTest {test data-1.8 {properly closed database file (non-query)} -setup {
   417    417     set fileName data-1.8.db
   418    418   } -body {

Changes to Tests/stress.eagle.

   235    235         }
   236    236       }
   237    237     }
   238    238   
   239    239     #############################################################################
   240    240   
   241    241     proc useMem { ptr size } {
   242         -    if {![isMono]} then {
          242  +    if {[isWindows] && ![isMono]} then {
   243    243         #
   244    244         # HACK: The type signature of the ZeroMemory method changed as of the
   245    245         #       .NET Framework 4.5.  The second argument went from being of
   246    246         #       type UInt to type UIntPtr.
   247    247         #
   248    248         if {[haveConstraint dotNet40] && \
   249    249             [haveConstraint dotNet45OrHigher]} then {