aboutsummaryrefslogtreecommitdiff
path: root/src/fault.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2008-03-21 16:45:47 +0000
committerdrh <drh@noemail.net>2008-03-21 16:45:47 +0000
commit3088d59e06717a02e8b4566f2dbce9ae7d97b761 (patch)
tree4b4a911e76d6044449d10dc1f56c449d4fcf749a /src/fault.c
parent6f332c18d91531fbdc283eceacfc20ab414b77a9 (diff)
downloadsqlite-3088d59e06717a02e8b4566f2dbce9ae7d97b761.tar.gz
sqlite-3088d59e06717a02e8b4566f2dbce9ae7d97b761.zip
Add a completely new testing system for the Bitvec object. The new
testing system uses sqlite3_test_control() instead of unpublished APIs. Now provides 100% condition/decision coverage. Obscure bugs in Bitvec found and fixed as a result of the enhanced coverage. (CVS 4902) FossilOrigin-Name: 2498d3ea36ecab6d9c0f04ef1c49d76a7a215a4f
Diffstat (limited to 'src/fault.c')
-rw-r--r--src/fault.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fault.c b/src/fault.c
index af7702ec9..7e183ed43 100644
--- a/src/fault.c
+++ b/src/fault.c
@@ -19,7 +19,7 @@
** allocation failures or I/O errors.
**
** The fault injector is omitted from the code if SQLite is
-** compiled with -DSQLITE_OMIT_TESTLOGIC=1. There is a very
+** compiled with -DSQLITE_OMIT_BUILTIN_TEST=1. There is a very
** small performance hit for leaving the fault injector in the code.
** Commerical products will probably want to omit the fault injector
** from production builds. But safety-critical systems who work
@@ -28,7 +28,7 @@
*/
#include "sqliteInt.h"
-#ifndef SQLITE_OMIT_TESTLOGIC
+#ifndef SQLITE_OMIT_BUILTIN_TEST
/*
** There can be various kinds of faults. For example, there can be
@@ -144,4 +144,4 @@ int sqlite3FaultStep(int id){
return 1;
}
-#endif /* SQLITE_OMIT_TESTLOGIC */
+#endif /* SQLITE_OMIT_BUILTIN_TEST */