/ Check-in [4de71a4e]
Login

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

Overview
Comment:Do not run the async tests if the async module is not installed. (CVS 5722)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 4de71a4e2f59d302156e10efcb288efa23e18598
User & Date: drh 2008-09-18 18:18:29
Context
2008-09-19
09:14
Remove an obsolete layer of redirection in pager.c. (CVS 5723) check-in: 75deaa44 user: danielk1977 tags: trunk
2008-09-18
18:18
Do not run the async tests if the async module is not installed. (CVS 5722) check-in: 4de71a4e user: drh tags: trunk
18:17
Fix a segfault introduced by (5720) that can follow an IO error. (CVS 5721) check-in: 05d34626 user: danielk1977 tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/main.test.

     7      7   #    May you find forgiveness for yourself and forgive others.
     8      8   #    May you share freely, never taking more than you give.
     9      9   #
    10     10   #***********************************************************************
    11     11   # This file implements regression tests for SQLite library.  The
    12     12   # focus of this file is exercising the code in main.c.
    13     13   #
    14         -# $Id: main.test,v 1.29 2008/07/12 14:52:20 drh Exp $
           14  +# $Id: main.test,v 1.30 2008/09/18 18:18:29 drh Exp $
    15     15   
    16     16   set testdir [file dirname $argv0]
    17     17   source $testdir/tester.tcl
    18     18   
    19     19   # Only do the next group of tests if the sqlite3_complete API is available
    20     20   #
    21     21   ifcapable {complete} {
................................................................................
   439    439   } {1 {near "create": syntax error}}
   440    440   do_test main-3.6 {
   441    441     catchsql {SELECT 'abc' + #9}
   442    442   } {1 {near "#9": syntax error}}
   443    443   
   444    444   # The following test-case tests the linked list code used to manage
   445    445   # sqlite3_vfs structures.
   446         -if {$::tcl_platform(platform)=="unix"} {
          446  +if {$::tcl_platform(platform)=="unix" 
          447  +     && [info command sqlite3async_enable]!=""} {
   447    448     ifcapable threadsafe {
   448    449       do_test main-4.1 {
   449    450         sqlite3_crash_enable 1
   450    451         sqlite3_crash_enable 0
   451    452       
   452    453         sqlite3async_enable 1
   453    454         sqlite3async_enable 0