From 6b6589573655abd9613af6f09a46a6f7df894133 Mon Sep 17 00:00:00 2001 From: Oren Hurvitz Date: Wed, 2 Apr 2014 09:49:57 +0300 Subject: Made the SQLite unit tests work on Windows (sqlite3.dll wasn't being loaded) --- OpenSim/Data/Tests/BasicDataServiceTest.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'OpenSim') diff --git a/OpenSim/Data/Tests/BasicDataServiceTest.cs b/OpenSim/Data/Tests/BasicDataServiceTest.cs index 69b79bf..acfebd0 100644 --- a/OpenSim/Data/Tests/BasicDataServiceTest.cs +++ b/OpenSim/Data/Tests/BasicDataServiceTest.cs @@ -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)) { -- cgit v1.1