Re: [sqlite] problems with running test suite

2010-07-29 Thread Gerry Snyder
package require Tcl 8.5

is all it takes


Gerry

On 7/29/10, Richard Hipp  wrote:
> On Thu, Jul 29, 2010 at 4:44 PM, Paweł Hajdan, Jr.
> wrote:
>
>> I'm planning to contribute some patches (upstreaming patches Chromium
>> project applies to its local copy of sqlite).
>>
>> I've checked out the fossil repository, configured and compiled sqlite,
>> and
>> tried running "make test" (I didn't make any changes).
>>
>> I'm pasting below the test result and some fossil info. Please let me know
>> if you need more. This is on Ubuntu Lucid. Do you have any ideas what
>> makes
>> these tests fail? Should I be doing it some other way?
>>
>> wal2-10.2.1... Ok
>> wal2-10.2.2... Ok
>> wal2-10.2.3... Ok
>> wal2-11.0... Ok
>> wal2-11.1.1... Ok
>> ./testfixture: bad field specifier "t"
>>while executing
>>
>
>
> The test suite now requires Tcl 8.5.  You appear to be running Tcl 8.4.
>
> It would be relatively easy for use to enhance the test suite so that it
> automatically detects a too-old version of Tcl and prints a warning or
> error.  We'll try to make that change for you soon.
>
> --
> -
> D. Richard Hipp
> d...@sqlite.org
> ___
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>

-- 
Sent from my mobile device
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] problems with running test suite

2010-07-29 Thread Simon Slavin

On 30 Jul 2010, at 1:14am, Paweł Hajdan, Jr. wrote:

> On Thu, Jul 29, 2010 at 16:34, Richard Hipp  wrote:
> 
>> The test suite now requires Tcl 8.5.  You appear to be running Tcl 8.4.
>> 
> 
> That's right. After upgrading from tcl8.4 to tcl8.5 the tests run just fine.

Can you insert a new test, right at the beginning, that checks to see you're 
running a sufficiently high version of tcl ?

Simon.
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] problems with running test suite

2010-07-29 Thread Paweł Hajdan , Jr .
On Thu, Jul 29, 2010 at 16:34, Richard Hipp  wrote:

> The test suite now requires Tcl 8.5.  You appear to be running Tcl 8.4.
>

That's right. After upgrading from tcl8.4 to tcl8.5 the tests run just fine.

Thanks!
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] problems with running test suite

2010-07-29 Thread Richard Hipp
On Thu, Jul 29, 2010 at 4:44 PM, Paweł Hajdan, Jr.
wrote:

> I'm planning to contribute some patches (upstreaming patches Chromium
> project applies to its local copy of sqlite).
>
> I've checked out the fossil repository, configured and compiled sqlite, and
> tried running "make test" (I didn't make any changes).
>
> I'm pasting below the test result and some fossil info. Please let me know
> if you need more. This is on Ubuntu Lucid. Do you have any ideas what makes
> these tests fail? Should I be doing it some other way?
>
> wal2-10.2.1... Ok
> wal2-10.2.2... Ok
> wal2-10.2.3... Ok
> wal2-11.0... Ok
> wal2-11.1.1... Ok
> ./testfixture: bad field specifier "t"
>while executing
>


The test suite now requires Tcl 8.5.  You appear to be running Tcl 8.4.

It would be relatively easy for use to enhance the test suite so that it
automatically detects a too-old version of Tcl and prints a warning or
error.  We'll try to make that change for you soon.

-- 
-
D. Richard Hipp
d...@sqlite.org
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users