Re: [sqlite] self test for sqlite-amalgamation-3.6.5
Hi, Do we need to add more files in src as i just copied test*.c and *.h files from source tar and then compiled in 3.6.5-amalgmation . On Tue, Nov 25, 2008 at 10:21 AM, goldy <[EMAIL PROTECTED]> wrote: > Hi Shane, > > I am using linux and i have used these options: > gcc -g -O2 -DSQLITE_OS_UNIX=1 -I. -I./src -DNDEBUG -I/devel/usr/include > -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DTCLSH=1 > -DSQLITE_NO_SYNC=1\ > -DSQLITE_CRASH_TEST=1 -DSQLITE_TEST=1\ > -DSQLITE_SERVER=1 -DSQLITE_PRIVATE="" -DSQLITE_CORE > -DSQLITE_TEMP_STORE=1 > -o testfixture ./src/test1.c ./src/test2.c ./src/test3.c ./src/test4.c > ./src/test5.c ./src/test6.c ./src/test7.c ./src/test8.c ./src/test9.c > ./src/test_autoext.c ./src/test_async.c ./src/test_btree.c > ./src/test_config.c ./src/test_devsym.c ./src/test_func.c ./src/test_hexio.c > ./src/test_malloc.c ./src/test_md5.c ./src/test_mutex.c ./src/test_onefile.c > ./src/test_osinst.c ./src/test_schema.c ./src/test_server.c > ./src/test_tclvar.c ./src/test_thread.c sqlite3.c -L/devel/usr/lib -ltcl8.4 > -ldl -lieee -lm -lpthread > > > I have copied src/test*.c from source repository and appended tclsqlite.c > to sqlite3.c. > > I also tried to give -DSQLITE_AMALGAMATION flag but then during compilation > i am getting errors. > > Regards > ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] self test for sqlite-amalgamation-3.6.5
Hi Shane, I am using linux and i have used these options: gcc -g -O2 -DSQLITE_OS_UNIX=1 -I. -I./src -DNDEBUG -I/devel/usr/include -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DTCLSH=1 -DSQLITE_NO_SYNC=1\ -DSQLITE_CRASH_TEST=1 -DSQLITE_TEST=1\ -DSQLITE_SERVER=1 -DSQLITE_PRIVATE="" -DSQLITE_CORE -DSQLITE_TEMP_STORE=1 -o testfixture ./src/test1.c ./src/test2.c ./src/test3.c ./src/test4.c ./src/test5.c ./src/test6.c ./src/test7.c ./src/test8.c ./src/test9.c ./src/test_autoext.c ./src/test_async.c ./src/test_btree.c ./src/test_config.c ./src/test_devsym.c ./src/test_func.c ./src/test_hexio.c ./src/test_malloc.c ./src/test_md5.c ./src/test_mutex.c ./src/test_onefile.c ./src/test_osinst.c ./src/test_schema.c ./src/test_server.c ./src/test_tclvar.c ./src/test_thread.c sqlite3.c -L/devel/usr/lib -ltcl8.4 -ldl -lieee -lm -lpthread I have copied src/test*.c from source repository and appended tclsqlite.c to sqlite3.c. I also tried to give -DSQLITE_AMALGAMATION flag but then during compilation i am getting errors. Regards ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] self test for sqlite-amalgamation-3.6.5
Can you provide more details? What platform (Windows, Linux, etc.)? What version of TCL? What compilation options did you use for the testfixture? On Mon, Nov 24, 2008 at 1:30 AM, Avinash Mittal <[EMAIL PROTECTED]>wrote: > Hi, > > I tried to execute the test for sqlite-amalgamation-3.6.5 repository but > there are some test cases which getting hanged like > lock-4.3... > Expected: [1 {database is locked} {0 1 2 3 4 5}] > Got: [1 {database is locked} {}] > lock-5.1... Ok > lock-5.2..---> this one is > hanging. > and > pragma-3.4 > hanging > > > i am not getting understood this behavior as i did execute test for > sqlite-3.6.4 repository and all ended well > ___ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
[sqlite] self test for sqlite-amalgamation-3.6.5
Hi, I tried to execute the test for sqlite-amalgamation-3.6.5 repository but there are some test cases which getting hanged like lock-4.3... Expected: [1 {database is locked} {0 1 2 3 4 5}] Got: [1 {database is locked} {}] lock-5.1... Ok lock-5.2..---> this one is hanging. and pragma-3.4 > hanging i am not getting understood this behavior as i did execute test for sqlite-3.6.4 repository and all ended well ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users