System.Data.SQLite

Check-in [f502c8b48f]
Login

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

Overview
Comment:Only add the vendor-specific package path to the process environment once. Also, remove unnecessary test constraints from the test for ticket [0d5b1ef362].
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: f502c8b48f3699474d92283d6395be0a1baed3a5
User & Date: mistachkin 2011-10-04 09:15:21.053
Context
2011-10-04
10:20
Add unit testing wrapper tool capable of testing multiple sets of binaries. Also, update all batch tools to reset the error level prior to checking it. check-in: 095c172f52 user: mistachkin tags: trunk
09:15
Only add the vendor-specific package path to the process environment once. Also, remove unnecessary test constraints from the test for ticket [0d5b1ef362]. check-in: f502c8b48f user: mistachkin tags: trunk
09:03
The unit test infrastructure should make sure the native SQLite library is actually available. Also, update all version and release information for 1.0.76.0. check-in: 374035c537 user: mistachkin tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to Externals/Eagle/lib/Eagle1.0/vendor.eagle.
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78











79
80

81
82
83
84
85
86
87
            [file exists [file join $dir Tests pkgIndex.eagle]] && \
            [file isfile [file join $dir Tests pkgIndex.eagle]]} then {
          #
          # NOTE: Ok, show the directory we found.
          #
          set dir [file join $dir Tests]

          #
          # NOTE: If we have NOT been instructed to be quiet, report now.
          #
          if {!$quiet} then {
            puts -nonewline $channel [appendArgs \
                "Found vendor-specific test package directory \"" $dir \
                "\", adding...\n"]
          }

          #
          # NOTE: We found the necessary directory to add to the auto-path;
          #       However, we cannot simply add it to the auto-path directly
          #       because the auto-path is dynamically constructed after this
          #       script is evaluated; therefore, set the Eagle library path
          #       environment variable and force the appropriate internal path
          #       list to be refreshed.
          #











          lappend ::env(EAGLELIBPATH) $dir
          object invoke Utility RefreshAutoPathList


          #
          # NOTE: We are done, return success.
          #
          return true
        }








<
<
<
<
<
<
<
<
<








>
>
>
>
>
>
>
>
>
>
>
|
|
>







55
56
57
58
59
60
61









62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
            [file exists [file join $dir Tests pkgIndex.eagle]] && \
            [file isfile [file join $dir Tests pkgIndex.eagle]]} then {
          #
          # NOTE: Ok, show the directory we found.
          #
          set dir [file join $dir Tests]










          #
          # NOTE: We found the necessary directory to add to the auto-path;
          #       However, we cannot simply add it to the auto-path directly
          #       because the auto-path is dynamically constructed after this
          #       script is evaluated; therefore, set the Eagle library path
          #       environment variable and force the appropriate internal path
          #       list to be refreshed.
          #
          if {![info exists ::env(EAGLELIBPATH)] || \
              [lsearch -exact $::env(EAGLELIBPATH) $dir] == -1} then {
            #
            # NOTE: If we have NOT been instructed to be quiet, report now.
            #
            if {!$quiet} then {
              puts -nonewline $channel [appendArgs \
                  "Found vendor-specific test package directory \"" $dir \
                  "\", adding...\n"]
            }

            lappend ::env(EAGLELIBPATH) $dir
            object invoke Utility RefreshAutoPathList
          }

          #
          # NOTE: We are done, return success.
          #
          return true
        }

Changes to Tests/tkt-0d5b1ef362.eagle.
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
  # NOTE: Make sure that no DomainUnload handlers were actually added while we
  #       created the two connections (i.e. because we are not in the default
  #       application domain).
  #
  expr {$x == $y}
} -cleanup {
  unset -nocomplain connection i x y
} -constraints {eagle dotNet monoBug28 command.sql compile.DATA\
compile.ISOLATED_INTERPRETERS SQLite System.Data.SQLite} -isolationLevel \
AppDomain -result {True}}

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

runSQLiteTestEpilogue
runTestEpilogue







|
<
|





56
57
58
59
60
61
62
63

64
65
66
67
68
69
  # NOTE: Make sure that no DomainUnload handlers were actually added while we
  #       created the two connections (i.e. because we are not in the default
  #       application domain).
  #
  expr {$x == $y}
} -cleanup {
  unset -nocomplain connection i x y
} -constraints {eagle dotNet monoBug28 compile.ISOLATED_INTERPRETERS SQLite\

System.Data.SQLite} -isolationLevel AppDomain -result {True}}

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

runSQLiteTestEpilogue
runTestEpilogue