aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/alterfault.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/alterfault.test b/test/alterfault.test
index a2a9677c9..b6b42973e 100644
--- a/test/alterfault.test
+++ b/test/alterfault.test
@@ -15,6 +15,12 @@ set testdir [file dirname $argv0]
source $testdir/tester.tcl
set testprefix alterfault
+# If SQLITE_OMIT_ALTERTABLE is defined, omit this file.
+ifcapable !altertable {
+ finish_test
+ return
+}
+
do_execsql_test 1.0 {
CREATE TABLE t1(a);
}