System.Data.SQLite
Check-in [67a33ffd3c]
Not logged in

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

Overview
Comment:Fix some issues with the test suite.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 67a33ffd3c21ef1fe5e5cae4a26141c884b58162
User & Date: mistachkin 2016-04-12 21:20:00
Context
2016-04-14
18:39
When installing the VC++ runtimes, check for the return code that indicates a newer version is already installed. Fix for [26909f2848]. check-in: 00de71369b user: mistachkin tags: trunk
2016-04-12
21:20
Merge updates from trunk. check-in: 59f1b68650 user: mistachkin tags: preRelease
21:20
Fix some issues with the test suite. check-in: 67a33ffd3c user: mistachkin tags: trunk
13:57
When using the mixed-mode assembly, it must be assumed that the 'vtshim' module is already loaded. check-in: 3a961372b3 user: mistachkin tags: trunk
Changes
Hide Diffs Unified Diffs Show Whitespace Changes Patch

Changes to Setup/test_all.bat.

283
284
285
286
287
288
289




290
291
292
293
294
295
296
  IF /I "%1" == "2012" (
    SET HAVE_LINQ=1
    SET HAVE_EF6=1
  )
  IF /I "%1" == "2013" (
    SET HAVE_LINQ=1
    SET HAVE_EF6=1




  )
  GOTO :EOF

:fn_UnsetVariable
  SETLOCAL
  SET VALUE=%1
  IF DEFINED VALUE (







>
>
>
>







283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
  IF /I "%1" == "2012" (
    SET HAVE_LINQ=1
    SET HAVE_EF6=1
  )
  IF /I "%1" == "2013" (
    SET HAVE_LINQ=1
    SET HAVE_EF6=1
  )
  IF /I "%1" == "2015" (
    SET HAVE_LINQ=1
    SET HAVE_EF6=1
  )
  GOTO :EOF

:fn_UnsetVariable
  SETLOCAL
  SET VALUE=%1
  IF DEFINED VALUE (

Changes to Tests/tkt-da685c0bac.eagle.

35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
  object load -loadtype Bytes [base64 encode [readFile [file join \
      [getBinaryDirectory] System.Data.SQLite.dll]]]

  object invoke -flags +NonPublic \
      System.Data.SQLite.UnsafeNativeMethods GetXmlConfigFileName
} -cleanup {
  moveSystemDataSQLiteDllConfig true true
} -isolationLevel AppDomain -constraints {eagle command.object\
compile.ISOLATED_INTERPRETERS System.Data.SQLite} -constraintExpression \
{[haveConstraint defineConstant.System.Data.SQLite.SQLITE_STANDARD] || \
[haveConstraint defineConstant.System.Data.SQLite.USE_INTEROP_DLL] || \
[haveConstraint defineConstant.System.Data.SQLite.PLATFORM_COMPACTFRAMEWORK]} \
-result {}}

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

moveSystemDataSQLiteDllConfig true true

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

runSQLiteTestEpilogue
runTestEpilogue







|
|
<
|
<
<









35
36
37
38
39
40
41
42
43

44


45
46
47
48
49
50
51
52
53
  object load -loadtype Bytes [base64 encode [readFile [file join \
      [getBinaryDirectory] System.Data.SQLite.dll]]]

  object invoke -flags +NonPublic \
      System.Data.SQLite.UnsafeNativeMethods GetXmlConfigFileName
} -cleanup {
  moveSystemDataSQLiteDllConfig true true
} -isolationLevel AppDomain -constraints \
{eagle command.object compile.ISOLATED_INTERPRETERS System.Data.SQLite\

defineConstant.System.Data.SQLite.USE_INTEROP_DLL} -result {}}



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

moveSystemDataSQLiteDllConfig true true

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

runSQLiteTestEpilogue
runTestEpilogue