Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Trying to get some tests in printf.test to pass on 64-bit systems. (CVS 1952) |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
b12fc46dcd5aa901fc781a17d49f8f11 |
User & Date: | drh 2004-09-09 00:35:30.000 |
Context
2004-09-09
| ||
13:55 | Fix a segfault in the authorizer when it is given a SELECT statement with no FROM clause. Ticket #896. (CVS 1954) (check-in: 97d63b9290 user: drh tags: trunk) | |
00:35 | Trying to get some tests in printf.test to pass on 64-bit systems. (CVS 1952) (check-in: b12fc46dcd user: drh tags: trunk) | |
2004-09-08
| ||
21:12 | Update the makefile so that util.c gets the -DSQLITE_DEBUG=1 flag when building the test fixture. (CVS 1951) (check-in: 8d0c9a8d94 user: drh tags: trunk) | |
Changes
Changes to test/printf.test.
1 2 3 4 5 6 7 8 9 10 11 12 13 | # 2001 September 15 # # The author disclaims copyright to this source code. In place of # a legal notice, here is a blessing: # # May you do good and not evil. # May you find forgiveness for yourself and forgive others. # May you share freely, never taking more than you give. # #*********************************************************************** # This file implements regression tests for SQLite library. The # focus of this file is testing the sqlite_*_printf() interface. # | | > | | | | | | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | # 2001 September 15 # # The author disclaims copyright to this source code. In place of # a legal notice, here is a blessing: # # May you do good and not evil. # May you find forgiveness for yourself and forgive others. # May you share freely, never taking more than you give. # #*********************************************************************** # This file implements regression tests for SQLite library. The # focus of this file is testing the sqlite_*_printf() interface. # # $Id: printf.test,v 1.14 2004/09/09 00:35:30 drh Exp $ set testdir [file dirname $argv0] source $testdir/tester.tcl set n 1 foreach v {1 2 5 10 99 100 1000000 999999999 0 -1 -2 -5 -10 -99 -100 -9999999} { set v32 [expr {$v&0xffffffff}] do_test printf-1.$n.1 [subst { sqlite3_mprintf_int {Three integers: %d %x %o} $v $v $v }] [format {Three integers: %d %x %o} $v $v32 $v32] do_test printf-1.$n.2 [subst { sqlite3_mprintf_int {Three integers: (%6d) (%6x) (%6o)} $v $v $v }] [format {Three integers: (%6d) (%6x) (%6o)} $v $v32 $v32] do_test printf-1.$n.3 [subst { sqlite3_mprintf_int {Three integers: (%-6d) (%-6x) (%-6o)} $v $v $v }] [format {Three integers: (%-6d) (%-6x) (%-6o)} $v $v32 $v32] do_test printf-1.$n.4 [subst { sqlite3_mprintf_int {Three integers: (%+6d) (%+6x) (%+6o)} $v $v $v }] [format {Three integers: (%+6d) (%+6x) (%+6o)} $v $v32 $v32] do_test printf-1.$n.5 [subst { sqlite3_mprintf_int {Three integers: (%06d) (%06x) (%06o)} $v $v $v }] [format {Three integers: (%06d) (%06x) (%06o)} $v $v32 $v32] do_test printf-1.$n.6 [subst { sqlite3_mprintf_int {Three integers: (% 6d) (% 6x) (% 6o)} $v $v $v }] [format {Three integers: (% 6d) (% 6x) (% 6o)} $v $v32 $v32] do_test printf-1.$n.7 [subst { sqlite3_mprintf_int {Three integers: (%#6d) (%#6x) (%#6o)} $v $v $v }] [format {Three integers: (%#6d) (%#6x) (%#6o)} $v $v32 $v32] incr n } if {$::tcl_platform(platform)!="windows"} { set m 1 |
︙ | ︙ |