aboutsummaryrefslogtreecommitdiff
path: root/test/func.test
diff options
context:
space:
mode:
authordanielk1977 <danielk1977@noemail.net>2005-01-20 02:17:01 +0000
committerdanielk1977 <danielk1977@noemail.net>2005-01-20 02:17:01 +0000
commit4489f9bdece56d35df259b8cd1946900b63f89cc (patch)
tree50e441faccc28aa3adf7cf1c5f3a6885ac839cef /test/func.test
parent1bd3644f27470e6446a9c2c21ccdd2a2aeffa565 (diff)
downloadsqlite-4489f9bdece56d35df259b8cd1946900b63f89cc.tar.gz
sqlite-4489f9bdece56d35df259b8cd1946900b63f89cc.zip
Fix some test scripts so that they work with a minimal build configuration. (CVS 2241)
FossilOrigin-Name: d267fb3ca3f31ee138c9613cb84e873ede7f141a
Diffstat (limited to 'test/func.test')
-rw-r--r--test/func.test6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/func.test b/test/func.test
index 1d8560070..2ffa8bacd 100644
--- a/test/func.test
+++ b/test/func.test
@@ -11,7 +11,7 @@
# This file implements regression tests for SQLite library. The
# focus of this file is testing built-in functions.
#
-# $Id: func.test,v 1.31 2005/01/11 16:54:15 drh Exp $
+# $Id: func.test,v 1.32 2005/01/20 02:17:02 danielk1977 Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@@ -248,7 +248,9 @@ do_test func-7.1 {
# Tests for aggregate functions and how they handle NULLs.
#
do_test func-8.1 {
- execsql {EXPLAIN SELECT sum(a) FROM t2;}
+ ifcapable explain {
+ execsql {EXPLAIN SELECT sum(a) FROM t2;}
+ }
execsql {
SELECT sum(a), count(a), round(avg(a),2), min(a), max(a), count(*) FROM t2;
}