Made the SQLite unit tests work on Windows (sqlite3.dll wasn't being loaded)

This commit is contained in:
Oren Hurvitz
2014-04-02 09:49:57 +03:00
parent 559c66afe6
commit 6b65895736

View File

@@ -99,6 +99,9 @@ namespace OpenSim.Data.Tests
if (Directory.Exists("/proc/ppc64") || Directory.Exists("/proc/dasd"))
Assert.Ignore();
if (Util.IsWindows())
Util.LoadArchSpecificWindowsDll("sqlite3.dll");
// for SQLite, if no explicit conn string is specified, use a temp file
if (String.IsNullOrEmpty(m_connStr))
{