When compiling extensions in the load_extension tests, specify a path

for finding include files. (CVS 3313)

FossilOrigin-Name: aee4b669944ccf3888daa9d9e54f16261c64f380
This commit is contained in:
drh
2006-06-27 18:38:51 +00:00
parent 2372c2b165
commit 35364b2b9e
3 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -11,7 +11,7 @@
# This file implements regression tests for SQLite library. The
# focus of this script is in-memory database backend.
#
# $Id: loadext.test,v 1.5 2006/06/27 15:16:16 drh Exp $
# $Id: loadext.test,v 1.6 2006/06/27 18:38:52 drh Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@@ -32,7 +32,7 @@ if {![file exists $testextension]} {
set srcdir [file dir $testdir]/src
set testextsrc $srcdir/test_loadext.c
if {[catch {
exec gcc -Wall -g -shared $testextsrc -o $testextension
exec gcc -Wall -I$srcdir -I. -g -shared $testextsrc -o $testextension
} msg]} {
puts "Skipping loadext tests: Test extension not built..."
puts $msg