Allow sqllimits1.test to be run from a regular build of testfixture. Add the 'amalgamation-testfixture' target to main.mk - to build testfixture via sqlite3.c. (CVS 4354)

FossilOrigin-Name: d119427314d27f291b605073d34826cdb89746c1
This commit is contained in:
danielk1977
2007-08-31 17:42:48 +00:00
parent cc6bb3eaeb
commit e6a58a4e2a
11 changed files with 209 additions and 414 deletions
+8 -1
View File
@@ -11,7 +11,7 @@
# This file implements regression tests for SQLite library. The
# focus of this file is testing date and time functions.
#
# $Id: date.test,v 1.22 2007/05/04 13:15:57 drh Exp $
# $Id: date.test,v 1.23 2007/08/31 17:42:48 danielk1977 Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@@ -234,6 +234,13 @@ if {$tzoffset==4} {
set sqlite_current_time 0
}
# These two are a bit of a scam. They are added to ensure that 100% of
# the date.c file is covered by testing, even when the time-zone
# is not -0400 (the condition for running of the block of tests above).
#
datetest 6.19 {datetime('2039-07-01 12:00:00','localtime',null)} NULL
datetest 6.20 {datetime('2039-07-01 12:00:00','utc',null)} NULL
# Date-time functions that contain NULL arguments return a NULL
# result.
#