System.Data.SQLite

Check-in [03a0464b5d]
Login

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

Overview
Comment:Make the test 'tkt-58ed318f2f-1.14' less fragile.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | interopPostBuild
Files: files | file ages | folders
SHA1: 03a0464b5dbeaecd764d2ad9774af77b5ee9a1ab
User & Date: mistachkin 2016-08-31 22:46:59.094
Context
2016-08-31
23:06
Revise how the sample database files are copied. check-in: e34b3597d5 user: mistachkin tags: interopPostBuild
22:46
Make the test 'tkt-58ed318f2f-1.14' less fragile. check-in: 03a0464b5d user: mistachkin tags: interopPostBuild
22:21
Completely reform the handling of mixed-mode assembly files in the test suite. check-in: 4b4a4a4175 user: mistachkin tags: interopPostBuild
Changes
Unified Diff Ignore Whitespace Patch
Changes to Tests/tkt-58ed318f2f.eagle.
448
449
450
451
452
453
454
455


456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
  sql execute $db {
    CREATE TABLE t1(x);
    INSERT INTO t1 (x) VALUES(0);
  }

  sql execute -execute reader -format list $db "SELECT x FROM t1;"

  expr {[getSettingReadCount ""] eq ([isMono] ? "10 15" : "10 13") && \


      [getSettingReadCount "" true] eq "0 0"}
} -cleanup {
  cleanupDb $fileName
  restoreGetSettingValueEnvironment

  unset -nocomplain db fileName
} -constraints {eagle command.object monoBug28 command.sql compile.DATA SQLite\
System.Data.SQLite SQLiteInterop buildConfiguration.Debug} -result {True}}

###############################################################################

rename getSettingReadCount ""

###############################################################################








|
>
>





|

|







448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
  sql execute $db {
    CREATE TABLE t1(x);
    INSERT INTO t1 (x) VALUES(0);
  }

  sql execute -execute reader -format list $db "SELECT x FROM t1;"

  set counts [getSettingReadCount ""]

  expr {[lindex $counts 0] > 0 && [lindex $counts 1] > 0 && \
      [getSettingReadCount "" true] eq "0 0"}
} -cleanup {
  cleanupDb $fileName
  restoreGetSettingValueEnvironment

  unset -nocomplain counts db fileName
} -constraints {eagle command.object monoBug28 command.sql compile.DATA SQLite\
System.Data.SQLite buildConfiguration.Debug} -result {True}}

###############################################################################

rename getSettingReadCount ""

###############################################################################