System.Data.SQLite

Check-in [a4a1d80b10]
Login

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

Overview
Comment:Adjust the vendor-specific setup script (for Eagle) to allow it to be successfully evaluated using a 'safe' interpreter.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: a4a1d80b103128a7850ab9c95884744dc549bb27
User & Date: mistachkin 2014-04-22 06:48:22.729
Context
2014-04-22
20:07
Improve documentation of the build process. check-in: 32ea9b99f9 user: mistachkin tags: trunk
06:48
Adjust the vendor-specific setup script (for Eagle) to allow it to be successfully evaluated using a 'safe' interpreter. check-in: a4a1d80b10 user: mistachkin tags: trunk
2014-04-21
20:11
Add SetChunkSize method to the SQLiteConnection class. Pursuant to [d1c008fa0a]. check-in: 146cb55f1e user: mistachkin tags: trunk
Changes
Side-by-Side Diff Ignore Whitespace Patch
Changes to Externals/Eagle/lib/Eagle1.0/vendor.eagle.
193
194
195
196
197
198
199





200
201
202
203
204
205






206
207
208
209



210
211
212
213
214
215
216
217
218
219
220










221
222

223
224
225
226
227
228
229
230








231
232
233
234
235
236
237
193
194
195
196
197
198
199
200
201
202
203
204






205
206
207
208
209
210
211



212
213
214
215










216
217
218
219
220
221
222
223
224
225
226

227
228







229
230
231
232
233
234
235
236
237
238
239
240
241
242
243







+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+

-
-
-
+
+
+

-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+

-
+

-
-
-
-
-
-
-
+
+
+
+
+
+
+
+







    # NOTE: Set the name of the running test suite, if necessary.
    #
    if {![info exists test_suite]} then {
      set test_suite "System.Data.SQLite Test Suite for Eagle"
    }

    #
    # NOTE: When being evaluated in a "safe" interpreter, some steps must be
    #       skipped due to missing commands and/or sub-commands.
    #
    if {![interp issafe]} then {
      #
    # NOTE: This variable will contain the name of the directory containing the
    #       vendor-specific testing infrastructure.  If the variable does not
    #       already exist, create it; otherwise, it has been overridden and the
    #       existing value should be left intact.
    #
    set have_vendor_directory [info exists vendor_directory]
      # NOTE: This variable will contain the name of the directory containing
      #       the vendor-specific testing infrastructure.  If the variable does
      #       not already exist, create it; otherwise, it has been overridden
      #       and the existing value should be left intact.
      #
      set have_vendor_directory [info exists vendor_directory]

    if {!$have_vendor_directory} then {
      set vendor_directory ""
    }
      if {!$have_vendor_directory} then {
        set vendor_directory ""
      }

    #
    # NOTE: This procedure will attempt to find the vendor-specific testing
    #       infrastructure directory and add it to the auto-path for the
    #       current interpreter.  Normally, this will also set the variable
    #       created above to point to the directory added to the auto-path;
    #       however, this will not be done if the variable was not created
    #       by us.
    #
    addTestSuiteToAutoPath stdout [expr {$have_vendor_directory ? "" : \
        "vendor_directory"}] false
      #
      # NOTE: This procedure will attempt to find the vendor-specific testing
      #       infrastructure directory and add it to the auto-path for the
      #       current interpreter.  Normally, this will also set the variable
      #       created above to point to the directory added to the auto-path;
      #       however, this will not be done if the variable was not created
      #       by us.
      #
      addTestSuiteToAutoPath stdout [expr {$have_vendor_directory ? "" : \
          "vendor_directory"}] false

    unset have_vendor_directory
      unset have_vendor_directory

    #
    # NOTE: If we actually found a vendor-specific testing infrastructure
    #       directory then modify the TestPath property of the current
    #       interpreter to point directly to it.
    #
    if {[string length $vendor_directory] > 0} then {
      setupInterpreterTestPath stdout $vendor_directory false
      #
      # NOTE: If we actually found a vendor-specific testing infrastructure
      #       directory then modify the TestPath property of the current
      #       interpreter to point directly to it.
      #
      if {[string length $vendor_directory] > 0} then {
        setupInterpreterTestPath stdout $vendor_directory false
      }
    }

    #
    # HACK: Prevent the Eagle core test suite infrastructure from checking
    #       test constraints that are time-consuming and/or most likely to
    #       be superfluous to third-party test suites (i.e. those that are
    #       not testing the Eagle core library itself).