/ Check-in [31c07db2]
Login

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

Overview
Comment:Changes to the spellfix test script to make the results deterministic.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 31c07db2560ee867723c41cdb634e2aa7993634d
User & Date: drh 2012-08-15 16:43:07
Context
2012-08-17
11:47
Skip defining some WAL specific things in the Win32 VFS code when compiling without WAL support. Also, fix an example command line in the MSVC makefile. check-in: 61b1ae12 user: mistachkin tags: trunk
2012-08-16
11:24
Update the threads branch to include all the latest trunk changes. check-in: f4125771 user: drh tags: threads
2012-08-15
16:43
Changes to the spellfix test script to make the results deterministic. check-in: 31c07db2 user: drh tags: trunk
16:06
Change autoconf so that the --with-tcl=DIR option will override the TCL configuration that is found using tclsh. check-in: 772d0de3 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/spellfix.test.

    65     65     foreach word $vocab {
    66     66       execsql { INSERT INTO t1(word) VALUES($word) }
    67     67     }
    68     68   } {}
    69     69   
    70     70   foreach {tn word res} {
    71     71     1   raxpi*     {rasping 5 rasped 5 raspberry 6 rasp 4 rasps 4}
    72         -  2   ril*       {rail 4 railway 4 railing 4 rails 4 railways 4}
    73         -  3   rilis*     {realist 6 realistic 6 realistically 6 realists 6 realism 6}
    74         -  4   reail*     {realities 3 reality 3 real 3 realest 3 realist 3}
    75         -  5   ras*       {rasp 3 rash 3 rasped 3 rasping 3 rasps 3}
           72  +  2   ril*       {rail 4 railed 4 railer 4 railers 4 railing 4}
           73  +  3   rilis*     {realism 6 realist 6 realistic 6 realistically 6 realists 6}
           74  +  4   reail*     {real 3 realest 3 realign 3 realigned 3 realigning 3}
           75  +  5   ras*       {rascal 3 rascally 3 rascals 3 rash 3 rasher 3}
    76     76     6   realistss* {realists 8 realigns 8 realistic 9 realistically 9 realest 7}
    77     77     7   realistss  {realists 8 realist 7 realigns 8 realistic 9 realest 7}
    78     78     8   rllation*  {realities 9 reality 7 rallied 7 railed 4}
    79         -  9   renstom*   {rainstorm 8 ransomer 6 ransom 6 ransoming 6 ransoms 6}
           79  +  9   renstom*   {rainstorm 8 ransom 6 ransomer 6 ransoming 6 ransoms 6}
    80     80   } {
    81     81     do_execsql_test 1.2.$tn {
    82         -    SELECT word, matchlen FROM t1 WHERE word MATCH $word LIMIT 5
           82  +    SELECT word, matchlen FROM t1 WHERE word MATCH $word 
           83  +     ORDER BY score, word LIMIT 5
    83     84     } $res
    84     85   }
    85     86   
    86     87   
    87     88   do_execsql_test 2.1 {
    88     89     CREATE VIRTUAL TABLE t2 USING spellfix1;
    89     90     INSERT INTO t2 (word, soundslike) VALUES('school', 'skuul');