System.Data.SQLite
Check-in [0f5776243f]
Not logged in

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

Overview
Comment:Enhance the test suite infrastructure 'getAppDomainPreamble' routine to use 'changeNativeRuntimeOption'.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:0f5776243f88727783b6f6fff120be9573ea103c
User & Date: mistachkin 2015-09-15 04:26:54
Context
2015-09-16
17:57
Update expected results for the 'tkt-71bedaca19-1.1' test to include the new 'IoErr_VNode' extended error code. check-in: ac28a75055 user: mistachkin tags: trunk
2015-09-15
04:26
Enhance the test suite infrastructure 'getAppDomainPreamble' routine to use 'changeNativeRuntimeOption'. check-in: 0f5776243f user: mistachkin tags: trunk
2015-09-11
19:31
Add experimental support for the 'json1' extension, enabled by default. check-in: 206cf1bc0a user: mistachkin tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to lib/System.Data.SQLite/common.eagle.

987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002


1003
1004
1005
1006
1007
1008
1009
      #       commands (i.e. those in square brackets) contained in the final
      #       script fragment will end up being evaluated in the context of the
      #       calling interpreter and not the target interpreter created in the
      #       isolated application domain unless the dollar signs and/or square
      #       brackets are specially quoted with backslashes.
      #
      return [uplevel 1 [list subst [appendArgs $prefix {
        if {[hasRuntimeOption native]} then {
          #
          # NOTE: The \[object\] command may be missing in some Eagle core
          #       library configurations.  In that case, we cannot copy the
          #       "native" runtime option.
          #
          catch {
            object invoke Interpreter.GetActive AddRuntimeOption native
          }


        }
      } [getTestOverridesPreamble [list path test_channel]] $suffix]]]
    }
 
    proc tryCopyExternalFile {
            fileName {platform ""} {newFileName ""} {verbose false} } {
      set sourceFileName [getExternalFileName $fileName]







|
|
|
|
|
|
|
|
|
>
>







987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
      #       commands (i.e. those in square brackets) contained in the final
      #       script fragment will end up being evaluated in the context of the
      #       calling interpreter and not the target interpreter created in the
      #       isolated application domain unless the dollar signs and/or square
      #       brackets are specially quoted with backslashes.
      #
      return [uplevel 1 [list subst [appendArgs $prefix {
        #
        # NOTE: The \[object\] command may be missing in some Eagle core
        #       library configurations.  Cloning and using the procedure
        #       \[changeNativeRuntimeOption\] may help to mitigate this.
        #
        proc changeNativeRuntimeOption \
            {[info args changeNativeRuntimeOption]} \
            {[info body changeNativeRuntimeOption]}

        catch {
          changeNativeRuntimeOption [hasRuntimeOption native]
        }
      } [getTestOverridesPreamble [list path test_channel]] $suffix]]]
    }
 
    proc tryCopyExternalFile {
            fileName {platform ""} {newFileName ""} {verbose false} } {
      set sourceFileName [getExternalFileName $fileName]