diff options
author | Oren Hurvitz | 2014-04-02 09:49:57 +0300 |
---|---|---|
committer | Oren Hurvitz | 2014-04-02 09:49:57 +0300 |
commit | 6b6589573655abd9613af6f09a46a6f7df894133 (patch) | |
tree | 727103fdb277846ee9bac7c7fb9154c042bfc936 /OpenSim/Data | |
parent | Added System.Core reference to MSSQL (diff) | |
download | opensim-SC-6b6589573655abd9613af6f09a46a6f7df894133.zip opensim-SC-6b6589573655abd9613af6f09a46a6f7df894133.tar.gz opensim-SC-6b6589573655abd9613af6f09a46a6f7df894133.tar.bz2 opensim-SC-6b6589573655abd9613af6f09a46a6f7df894133.tar.xz |
Made the SQLite unit tests work on Windows (sqlite3.dll wasn't being loaded)
Diffstat (limited to 'OpenSim/Data')
-rw-r--r-- | OpenSim/Data/Tests/BasicDataServiceTest.cs | 3 |
1 files changed, 3 insertions, 0 deletions
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 | |||
99 | if (Directory.Exists("/proc/ppc64") || Directory.Exists("/proc/dasd")) | 99 | if (Directory.Exists("/proc/ppc64") || Directory.Exists("/proc/dasd")) |
100 | Assert.Ignore(); | 100 | Assert.Ignore(); |
101 | 101 | ||
102 | if (Util.IsWindows()) | ||
103 | Util.LoadArchSpecificWindowsDll("sqlite3.dll"); | ||
104 | |||
102 | // for SQLite, if no explicit conn string is specified, use a temp file | 105 | // for SQLite, if no explicit conn string is specified, use a temp file |
103 | if (String.IsNullOrEmpty(m_connStr)) | 106 | if (String.IsNullOrEmpty(m_connStr)) |
104 | { | 107 | { |