Re: [sqlite] Does sqlite have official development testing tool?

2017-12-19 Thread advancenOO
Thanks for all your suggestions. 
Is it correct to add my compile-options(such as
-DSQLITE_DEFAULT_MMAP_SIZE=0x7fff) just after CFLAGS in Makefile? As I
found some weird bugs if I do so. 
For example, sometimes wal2.test can pass but sometimes it reports "cannot
open savepoint - SQL statements in progress".
 
Sorry for all the questions...

Thanks.



--
Sent from: http://sqlite.1065341.n5.nabble.com/
___
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] Does sqlite have official development testing tool?

2017-12-15 Thread J Decker
On Fri, Dec 15, 2017 at 7:05 AM, John G  wrote:

> If you don't have Tcl/Tk ... if you are using MacOS or Linux you already
> have it.
> On Windows you can download it from https://www.activestate.com/activetcl
>
> I have a religious prohibition against activestate bloatware :)
I found https://www.irontcl.com/ but you have to rename tclsh86t.exe to
tclsh.exe and tcl86t.lib to tcl86.lib



> John G
>
> On 14 December 2017 at 12:19, advancenOO 
> wrote:
>
> > Hello Richard,
> >
> > I hope to run some tests by myself and I think TCL tests in your link are
> > what I want.
> > There are so many .tcl and .test in Sqlite source tree.
> > Could someone share what commands I need to run to start all TCL tests?
> >
> > Thanks.
> >
> >
> >
> > --
> > Sent from: http://sqlite.1065341.n5.nabble.com/
> > ___
> > sqlite-users mailing list
> > sqlite-users@mailinglists.sqlite.org
> > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
> >
> ___
> sqlite-users mailing list
> sqlite-users@mailinglists.sqlite.org
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
>
___
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] Does sqlite have official development testing tool?

2017-12-15 Thread John G
If you don't have Tcl/Tk ... if you are using MacOS or Linux you already
have it.
On Windows you can download it from https://www.activestate.com/activetcl

John G

On 14 December 2017 at 12:19, advancenOO 
wrote:

> Hello Richard,
>
> I hope to run some tests by myself and I think TCL tests in your link are
> what I want.
> There are so many .tcl and .test in Sqlite source tree.
> Could someone share what commands I need to run to start all TCL tests?
>
> Thanks.
>
>
>
> --
> Sent from: http://sqlite.1065341.n5.nabble.com/
> ___
> sqlite-users mailing list
> sqlite-users@mailinglists.sqlite.org
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
>
___
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] Does sqlite have official development testing tool?

2017-12-14 Thread J Decker
On Thu, Dec 14, 2017 at 4:19 AM, advancenOO 
wrote:

> Hello Richard,
>
> I hope to run some tests by myself and I think TCL tests in your link are
> what I want.
> There are so many .tcl and .test in Sqlite source tree.
> Could someone share what commands I need to run to start all TCL tests?
>
> the 'make test' target uses a program 'testfixture' which is passed a tcl
script.  You can re-run indicidual tests with './testfixture tests/'
although that's the majority of the tests, some of the tests are
'fuzzcheck' which is another program built by the makefile.
make test does a good majority of the tests... there's also make fulltest
which takes many hours to complete but does 10x more tests.


> Thanks.
>
>
>
> --
> Sent from: http://sqlite.1065341.n5.nabble.com/
> ___
> sqlite-users mailing list
> sqlite-users@mailinglists.sqlite.org
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
>
___
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] Does sqlite have official development testing tool?

2017-12-14 Thread Richard Hipp
On 12/14/17, advancenOO  wrote:
> Hello Richard,
>
> I hope to run some tests by myself and I think TCL tests in your link are
> what I want.
> There are so many .tcl and .test in Sqlite source tree.
> Could someone share what commands I need to run to start all TCL tests?
>

make test

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


Re: [sqlite] Does sqlite have official development testing tool?

2017-12-14 Thread advancenOO
Hello Richard,

I hope to run some tests by myself and I think TCL tests in your link are
what I want.
There are so many .tcl and .test in Sqlite source tree.
Could someone share what commands I need to run to start all TCL tests? 

Thanks.



--
Sent from: http://sqlite.1065341.n5.nabble.com/
___
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] Does sqlite have official development testing tool?

2017-12-13 Thread Richard Hipp
On 12/13/17, advancenOO  wrote:
> I am interested in the source code of sqlite and I want to make some change
> to it.
> I wondering if sqlite has official development testing to do a full
> functional check or evaluate performance lose of my code?
>
> I have found sqlspeedtest1,8 and sqlthreadtest3,4. Is there any other
> testing I should make?

https://www.sqlite.org/testing.html

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


[sqlite] Does sqlite have official development testing tool?

2017-12-13 Thread advancenOO
I am interested in the source code of sqlite and I want to make some change
to it.
I wondering if sqlite has official development testing to do a full
functional check or evaluate performance lose of my code?

I have found sqlspeedtest1,8 and sqlthreadtest3,4. Is there any other
testing I should make? 




--
Sent from: http://sqlite.1065341.n5.nabble.com/
___
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users