Skip to content

Commit

Permalink
Additional logging information output by mptester.
Browse files Browse the repository at this point in the history
  • Loading branch information
D. Richard Hipp committed Mar 31, 2015
1 parent 80cf251 commit d7a639c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mptest/mptest.c
Original file line number Diff line number Diff line change
Expand Up @@ -1312,6 +1312,9 @@ int SQLITE_CDECL main(int argc, char **argv){
GETPID(), iClient);
}else{
if( g.iTrace>0 ){
printf("BEGIN: %s", argv[0]);
for(i=1; i<argc; i++) printf(" %s", argv[i]);
printf("\n");
printf("With SQLite " SQLITE_VERSION " " SQLITE_SOURCE_ID "\n" );
for(i=0; (zCOption = sqlite3_compileoption_get(i))!=0; i++){
printf("-DSQLITE_%s\n", zCOption);
Expand Down Expand Up @@ -1409,6 +1412,9 @@ int SQLITE_CDECL main(int argc, char **argv){
maybeClose(g.pErrLog);
if( iClient==0 ){
printf("Summary: %d errors out of %d tests\n", g.nError, g.nTest);
printf("END: %s", argv[0]);
for(i=1; i<argc; i++) printf(" %s", argv[i]);
printf("\n");
}
return g.nError>0;
}

0 comments on commit d7a639c

Please sign in to comment.