aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authordan <Dan Kennedy>2021-11-22 16:43:53 +0000
committerdan <Dan Kennedy>2021-11-22 16:43:53 +0000
commitc7b29b0ce7940b0cef30230653b9f221a1e5dea8 (patch)
tree3b18be4d63fd687d74aae94c82eb4756408aeb1f /test
parent42ac4c2e5f36334676cb75a1f4d336ff4729e041 (diff)
downloadsqlite-c7b29b0ce7940b0cef30230653b9f221a1e5dea8.tar.gz
sqlite-c7b29b0ce7940b0cef30230653b9f221a1e5dea8.zip
Do not attempt to run the tests in alterfault.est with SQLITE_OMIT_ALTERTABLE builds.
FossilOrigin-Name: 6f6f31c7df6831af28a24e69f744beeade739bb7bbb0810d5bbe592e4cd75e3d
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);
}