/ Check-in [77e4f7a3]
Login

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

Overview
Comment:Fix the ctime.test script so that it works with clang.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 77e4f7a36e6e0ebe842bcb36b2557a5bfba90d3f
User & Date: drh 2016-06-24 06:23:13
Context
2016-06-25
11:43
Fix the handling of OP_Eq opcodes that compare a register against itself and that require an affinity change. check-in: 507014e4 user: drh tags: trunk
2016-06-24
06:23
Fix the ctime.test script so that it works with clang. check-in: 77e4f7a3 user: drh tags: trunk
02:50
Fix the Makefile.in to avoid unnecessary recompiles of sqlite3.c. check-in: 67c39e16 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/ctime.test.

   192    192     PRAGMA compile_options;
   193    193   } ]
   194    194   set opts [ lindex $ans 1 ]
   195    195   set tc 1
   196    196   foreach opt $opts {
   197    197     do_test ctime-2.5.$tc {
   198    198       set N [ expr {$tc-1} ]
   199         -    set ans1 [ catchsql {
          199  +    set ans1 [catch {db one {
   200    200         SELECT sqlite_compileoption_get($N);
   201         -    } ]
          201  +    }} msg]
          202  +    lappend ans1 $msg
   202    203       set ans2 [ catchsql {
   203    204         SELECT sqlite_compileoption_used($opt);
   204    205       } ]
   205    206       list [ lindex $ans1 0 ] [ expr { [lindex $ans1 1]==$opt } ] \
   206    207            [ expr { $ans2 } ]
   207    208     } {0 1 {0 1}}
   208    209     incr tc 1