Running TCL tests on 3.7.5

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Running TCL tests on 3.7.5

Krokodile
Hello

I've got 3.7.5 sources via ZIP archive from
http://www.sqlite.org/cgi/src/info/ed759d5a9e - (SQLite version 3.7.5
release candidate 2)
Configure and install under Ubuntu 10.10 was ok.
After that i run "make fulltest" and got following error:

autoindex1-212... Ok
autoindex1-300... Ok
autoindex1-310... Ok
autoindex1-400... Ok
autoindex1-401... Ok
./testfixture: extra characters after close-brace
    while compiling
"uplevel do_test $testname [list "execsql {$sql}"] [list [list {*}$result]]
"
    (compiling body of proc "do_execsql_test", line 3)
    invoked from within
"do_execsql_test autoindex1-500 {
  CREATE TABLE t501(a INTEGER PRIMARY KEY, b);
  CREATE TABLE t502(x INTEGER PRIMARY KEY, y);
  EXPLAIN QUERY PLAN
  ..."
    (file "./test/autoindex1.test" line 143)
    invoked from within
"source ./test/autoindex1.test"
    invoked from within
"interp eval tinterp $script"
    (procedure "slave_test_script" line 24)
    invoked from within
"slave_test_script [list source $zFile] "
    invoked from within
"time { slave_test_script [list source $zFile] }"
    (procedure "slave_test_file" line 14)
    invoked from within
"slave_test_file $file"
    (procedure "run_tests" line 14)
    invoked from within
"run_tests full -presql {} -files {tkt-5d863f876e.test shared3.test
bigfile.test tkt3419.test where9.test fts1o.test fts2f.test sync.test
ioerr4.test e..."
    ("uplevel" body line 1)
    invoked from within
"uplevel run_tests $name $::testspec($name)"
    (procedure "run_test_suite" line 5)
    invoked from within
"run_test_suite full"
    (file "./test/all.test" line 17)
make: *** [fulltest] Error 1

Why does this problem appears - i made made changes neither in code nor in
tests. Does it mean version inconsistency?

Thanks in advance.
_______________________________________________
sqlite-users mailing list
[hidden email]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Reply | Threaded
Open this post in threaded view
|

Re: Running TCL tests on 3.7.5

Richard Hipp-3
On Tue, Mar 15, 2011 at 7:16 AM, Andrew Novoselsky <
[hidden email]> wrote:

> Hello
>
> I've got 3.7.5 sources via ZIP archive from
> http://www.sqlite.org/cgi/src/info/ed759d5a9e - (SQLite version 3.7.5
> release candidate 2)
> Configure and install under Ubuntu 10.10 was ok.
> After that i run "make fulltest" and got following error:
>
> autoindex1-212... Ok
> autoindex1-300... Ok
> autoindex1-310... Ok
> autoindex1-400... Ok
> autoindex1-401... Ok
> ./testfixture: extra characters after close-brace
>    while compiling
> "uplevel do_test $testname [list "execsql {$sql}"] [list [list {*}$result]]
>

This indicates that the version of TCL you have installed is 8.4 or earlier
but you need version 8.5 or later.  TCL version 8.5 was released 2008.

--
D. Richard Hipp
[hidden email]
_______________________________________________
sqlite-users mailing list
[hidden email]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Reply | Threaded
Open this post in threaded view
|

Re: Running TCL tests on 3.7.5

Noah Hart
In reply to this post by Krokodile
Some of the 3.7.5 tests use a new TCL construction, {*}, which requires TCL 8.5

You can bypass that particular one in tester.tcl:

proc do_execsql_test {testname sql {result {}}} {
  fix_testname testname
#  uplevel do_test $testname [list "execsql {$sql}"] [list [list {*}$result]]
  uplevel do_test $testname [list "execsql {$sql}"] [list [concat $result]]
}

however, there are a number of others you will find.  I'd try and update TCL on Ubuntu

~Noah Hart

Krokodile wrote
Hello

I've got 3.7.5 sources via ZIP archive from
http://www.sqlite.org/cgi/src/info/ed759d5a9e - (SQLite version 3.7.5
release candidate 2)
Configure and install under Ubuntu 10.10 was ok.
After that i run "make fulltest" and got following error:

autoindex1-212... Ok
autoindex1-300... Ok
autoindex1-310... Ok
autoindex1-400... Ok
autoindex1-401... Ok
./testfixture: extra characters after close-brace
    while compiling
"uplevel do_test $testname [list "execsql {$sql}"] [list [list {*}$result]]
"
    (compiling body of proc "do_execsql_test", line 3)
    invoked from within
"do_execsql_test autoindex1-500 {
  CREATE TABLE t501(a INTEGER PRIMARY KEY, b);
  CREATE TABLE t502(x INTEGER PRIMARY KEY, y);
  EXPLAIN QUERY PLAN
  ..."
    (file "./test/autoindex1.test" line 143)
    invoked from within
"source ./test/autoindex1.test"
    invoked from within
"interp eval tinterp $script"
    (procedure "slave_test_script" line 24)
    invoked from within
"slave_test_script [list source $zFile] "
    invoked from within
"time { slave_test_script [list source $zFile] }"
    (procedure "slave_test_file" line 14)
    invoked from within
"slave_test_file $file"
    (procedure "run_tests" line 14)
    invoked from within
"run_tests full -presql {} -files {tkt-5d863f876e.test shared3.test
bigfile.test tkt3419.test where9.test fts1o.test fts2f.test sync.test
ioerr4.test e..."
    ("uplevel" body line 1)
    invoked from within
"uplevel run_tests $name $::testspec($name)"
    (procedure "run_test_suite" line 5)
    invoked from within
"run_test_suite full"
    (file "./test/all.test" line 17)
make: *** [fulltest] Error 1

Why does this problem appears - i made made changes neither in code nor in
tests. Does it mean version inconsistency?

Thanks in advance.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users