diff options
author | Sean Dague | 2009-04-08 20:16:23 +0000 |
---|---|---|
committer | Sean Dague | 2009-04-08 20:16:23 +0000 |
commit | 65dcfdf031cd6f355f5b71bb885e1dfcbf4d785b (patch) | |
tree | 29463b9870ff7573afcfe1cb490de3ab0ab75372 /OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs | |
parent | * butterfingers (diff) | |
download | opensim-SC-65dcfdf031cd6f355f5b71bb885e1dfcbf4d785b.zip opensim-SC-65dcfdf031cd6f355f5b71bb885e1dfcbf4d785b.tar.gz opensim-SC-65dcfdf031cd6f355f5b71bb885e1dfcbf4d785b.tar.bz2 opensim-SC-65dcfdf031cd6f355f5b71bb885e1dfcbf4d785b.tar.xz |
SQLite doesn't work on ppc64, so ignore these tests if we are
on this platform
Diffstat (limited to 'OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs')
-rw-r--r-- | OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs index 60aa1f3..f299c91 100644 --- a/OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs +++ b/OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs | |||
@@ -40,6 +40,12 @@ namespace OpenSim.Data.SQLite.Tests | |||
40 | [TestFixtureSetUp] | 40 | [TestFixtureSetUp] |
41 | public void Init() | 41 | public void Init() |
42 | { | 42 | { |
43 | if (System.Environment.GetEnvironmentVariable("CPU") == "ppc64") | ||
44 | { | ||
45 | System.Console.WriteLine(System.Environment.GetEnvironmentVariable("CPU")); | ||
46 | Assert.Ignore(); | ||
47 | } | ||
48 | |||
43 | SuperInit(); | 49 | SuperInit(); |
44 | file = Path.GetTempFileName() + ".db"; | 50 | file = Path.GetTempFileName() + ".db"; |
45 | connect = "URI=file:" + file + ",version=3"; | 51 | connect = "URI=file:" + file + ",version=3"; |