/ Check-in [5bc816ec]
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

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

Overview
Comment:Skip running the 'zipfile' test if the necessary static package cannot be loaded.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 5bc816ec4010c20407396a1051e9f9b0a360ca27c0a99dafa867225cf974e306
User & Date: mistachkin 2018-01-05 20:13:33
Context
2018-01-05
20:26
MinGW does not define the S_ISLNK macro; therefore, define it in the shell when needed. check-in: 73023feb user: mistachkin tags: trunk
20:13
Skip running the 'zipfile' test if the necessary static package cannot be loaded. check-in: 5bc816ec user: mistachkin tags: trunk
20:08
Fix shell compilation with MinGW by including the 'dirent.h' header. check-in: dfe510b5 user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/zipfile.test.

    10     10   #***********************************************************************
    11     11   #
    12     12   
    13     13   set testdir [file dirname $argv0]
    14     14   source $testdir/tester.tcl
    15     15   set testprefix zipfile
    16     16   
    17         -load_static_extension db zipfile
           17  +if {[catch {load_static_extension db zipfile} error]} {
           18  +  puts "Skipping zipfile tests, hit load error: $error"
           19  +  finish_test; return
           20  +}
    18     21   
    19     22   forcedelete test.zip
    20     23   do_execsql_test 1.0 {
    21     24     CREATE VIRTUAL TABLE temp.zz USING zipfile('test.zip');
    22     25     PRAGMA table_info(zz);
    23     26   } {
    24     27     0 name {} 0 {} 0