Made the SQLite unit tests work on Windows (sqlite3.dll wasn't being loaded)
parent
559c66afe6
commit
6b65895736
|
@ -99,6 +99,9 @@ namespace OpenSim.Data.Tests
|
||||||
if (Directory.Exists("/proc/ppc64") || Directory.Exists("/proc/dasd"))
|
if (Directory.Exists("/proc/ppc64") || Directory.Exists("/proc/dasd"))
|
||||||
Assert.Ignore();
|
Assert.Ignore();
|
||||||
|
|
||||||
|
if (Util.IsWindows())
|
||||||
|
Util.LoadArchSpecificWindowsDll("sqlite3.dll");
|
||||||
|
|
||||||
// for SQLite, if no explicit conn string is specified, use a temp file
|
// for SQLite, if no explicit conn string is specified, use a temp file
|
||||||
if (String.IsNullOrEmpty(m_connStr))
|
if (String.IsNullOrEmpty(m_connStr))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue