diff --git a/testing/all.test b/testing/all.test index 8b2e55ef4..357e982b7 100755 --- a/testing/all.test +++ b/testing/all.test @@ -6,6 +6,7 @@ source $testdir/tester.tcl source $testdir/agg-functions.test source $testdir/coalesce.test source $testdir/join.test +source $testdir/pragma.test source $testdir/where.test do_execsql_test select-const-1 { @@ -20,10 +21,6 @@ do_execsql_test select-limit-0 { SELECT id FROM users LIMIT 0; } {} -do_execsql_test pragma-cache-size { - PRAGMA cache_size -} {-2000} - do_execsql_test realify { select price from products limit 1; } {79.0} diff --git a/testing/pragma.test b/testing/pragma.test new file mode 100755 index 000000000..74b7ad339 --- /dev/null +++ b/testing/pragma.test @@ -0,0 +1,8 @@ +#!/usr/bin/env tclsh + +set testdir [file dirname $argv0] +source $testdir/tester.tcl + +do_execsql_test pragma-cache-size { + PRAGMA cache_size +} {-2000}