Add the --vdbe-debug option to fuzzcheck.
FossilOrigin-Name: 289158aa24b066c453d2bce4bc2dead1c56fb0b23c3f7c4810b34b13627cef34
This commit is contained in:
parent
a7648f02e0
commit
6e1c45ef2e
12
manifest
12
manifest
@ -1,5 +1,5 @@
|
||||
C Enhancements\sto\sfuzzcheck\son\sunix\sso\sthat\sit\scaptures\ssignals\sand\sprints\nthe\scurrent\stest\sfile\sand\stest\snumber\sprior\sto\sterminating.
|
||||
D 2019-12-18T13:02:18.883
|
||||
C Add\sthe\s--vdbe-debug\soption\sto\sfuzzcheck.
|
||||
D 2019-12-18T13:42:04.200
|
||||
F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1
|
||||
F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea
|
||||
F LICENSE.md df5091916dbb40e6e9686186587125e1b2ff51f022cc334e886c19a0e9982724
|
||||
@ -1009,7 +1009,7 @@ F test/fuzz3.test 9c813e6613b837cb7a277b0383cd66bfa07042b4cf0317157c35852f30043c
|
||||
F test/fuzz4.test c229bcdb45518a89e1d208a21343e061503460ac69fae1539320a89f572eb634
|
||||
F test/fuzz_common.tcl a87dfbb88c2a6b08a38e9a070dabd129e617b45b
|
||||
F test/fuzz_malloc.test f348276e732e814802e39f042b1f6da6362a610af73a528d8f76898fde6b22f2
|
||||
F test/fuzzcheck.c b2d4dbe3642b3d0d4feb25a24868817d329abdfc84f6678f72c158fd39d4b5fa
|
||||
F test/fuzzcheck.c 0df68e0df3b93a8c8fc24c9873127c7d78024b51444193545f985dbc90ac024e
|
||||
F test/fuzzdata1.db d36e88741b4f23bcbaaf55b006290669d03c6c891cf13c7b3a53bc1b097b693f
|
||||
F test/fuzzdata2.db 128b3feeb78918d075c9b14b48610145a0dd4c8d6f1ca7c2870c7e425f5bf31f
|
||||
F test/fuzzdata3.db c6586d3e3cef0fbc18108f9bb649aa77bfc38aba
|
||||
@ -1852,7 +1852,7 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93
|
||||
F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
|
||||
F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
|
||||
F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
|
||||
P 519864da8bb671941a64bf333c2086ad9a068b5f85759e7abd368f0706d3aefd
|
||||
R 0747f5adac09bdca7c2e5bcdc15904cf
|
||||
P ae7cbb246bff3717c283869ccf27ce83611422f3801176819465a8d96f6481bf
|
||||
R 698a2a75d4b0cd7521db241025664bfa
|
||||
U drh
|
||||
Z 387af0afadfac53d17a3ca9cbd82d5ad
|
||||
Z 3b78f03b6dfb23a7688d2381f3d2f680
|
||||
|
@ -1 +1 @@
|
||||
ae7cbb246bff3717c283869ccf27ce83611422f3801176819465a8d96f6481bf
|
||||
289158aa24b066c453d2bce4bc2dead1c56fb0b23c3f7c4810b34b13627cef34
|
@ -1320,6 +1320,7 @@ static void showHelp(void){
|
||||
" --sqlid N Use only SQL where sqlid=N\n"
|
||||
" --timeout N Abort if any single test needs more than N seconds\n"
|
||||
" -v|--verbose Increased output. Repeat for more output.\n"
|
||||
" --vdbe-debug Activate VDBE debugging.\n"
|
||||
);
|
||||
}
|
||||
|
||||
@ -1475,6 +1476,9 @@ int main(int argc, char **argv){
|
||||
fatalError("timeout is not available on non-unix systems");
|
||||
#endif
|
||||
}else
|
||||
if( strcmp(z,"vdbe-debug")==0 ){
|
||||
bVdbeDebug = 1;
|
||||
}else
|
||||
if( strcmp(z,"verbose")==0 ){
|
||||
quietFlag = 0;
|
||||
verboseFlag++;
|
||||
@ -1821,6 +1825,9 @@ int main(int argc, char **argv){
|
||||
#ifdef SQLITE_TESTCTRL_PRNG_SEED
|
||||
sqlite3_test_control(SQLITE_TESTCTRL_PRNG_SEED, 1, db);
|
||||
#endif
|
||||
if( bVdbeDebug ){
|
||||
sqlite3_exec(db, "PRAGMA vdbe_debug=ON", 0, 0, 0);
|
||||
}
|
||||
do{
|
||||
runSql(db, (char*)pSql->a, runFlags);
|
||||
}while( timeoutTest );
|
||||
|
Loading…
Reference in New Issue
Block a user