/ Check-in [3839e909]
Login

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

Overview
Comment:Do not attempt to test the shell ".trace" command in SQLITE_OMIT_TRACE builds.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:3839e9098107604e1526c2b1e813c019607077dfe39d7eeb92f3466518dec3b1
User & Date: dan 2019-02-06 13:48:04
Context
2019-02-06
15:23
Add -DSQLITE_ENABLE_DESERIALIZE to the default testing configuration in test/releasetest.tcl. check-in: 433d6ef6 user: dan tags: trunk
13:48
Do not attempt to test the shell ".trace" command in SQLITE_OMIT_TRACE builds. check-in: 3839e909 user: dan tags: trunk
13:41
Fix a problem preventing testfixture from being built with SQLITE_OMIT_VIRTUALTABLE. check-in: d2cca36a user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/shell4.test.

   102    102   SELECT 1;
   103    103   }]
   104    104     list [regexp {Memory Used} $res] \
   105    105          [regexp {Heap Usage} $res] \
   106    106          [regexp {Autoindex Inserts} $res]
   107    107   } {1 1 1}
   108    108   
          109  +ifcapable trace {
   109    110   do_test shell4-2.1 {
   110    111     catchcmd ":memory:" "CREATE TABLE t1(x);\n.trace --unknown"
   111    112   } {1 {Unknown option "--unknown" on ".trace"}}
   112    113   do_test shell4-2.2 {
   113    114     catchcmd ":memory:" "CREATE TABLE t1(x);\n.trace off\n.trace off\n"
   114    115   } {0 {}}
   115    116   do_test shell4-2.3 {
   116    117     catchcmd ":memory:" ".trace stdout\n.dump\n.trace off\n"
   117    118   } {/^0 {PRAGMA.*}$/}
   118         -ifcapable trace {
   119    119   do_test shell4-2.4 {
   120    120     catchcmd ":memory:" ".trace stdout\nCREATE TABLE t1(x);SELECT * FROM t1;"
   121    121   } {0 {CREATE TABLE t1(x);
   122    122   SELECT * FROM t1;}}
   123    123   do_test shell4-2.5 {
   124    124     catchcmd ":memory:" "CREATE TABLE t1(x);\n.trace stdout\nSELECT * FROM t1;"
   125    125   } {0 {SELECT * FROM t1;}}