aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorSean Dague2009-04-08 20:16:23 +0000
committerSean Dague2009-04-08 20:16:23 +0000
commit65dcfdf031cd6f355f5b71bb885e1dfcbf4d785b (patch)
tree29463b9870ff7573afcfe1cb490de3ab0ab75372
parent* butterfingers (diff)
downloadopensim-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
-rw-r--r--OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs6
-rw-r--r--OpenSim/Data/SQLite/Tests/SQLiteEstateTest.cs6
-rw-r--r--OpenSim/Data/SQLite/Tests/SQLiteInventoryTest.cs6
-rw-r--r--OpenSim/Data/SQLite/Tests/SQLiteRegionTest.cs6
-rw-r--r--OpenSim/Data/SQLite/Tests/SQLiteUserTest.cs6
5 files changed, 30 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";
diff --git a/OpenSim/Data/SQLite/Tests/SQLiteEstateTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteEstateTest.cs
index 774cca1..17d52c3 100644
--- a/OpenSim/Data/SQLite/Tests/SQLiteEstateTest.cs
+++ b/OpenSim/Data/SQLite/Tests/SQLiteEstateTest.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";
diff --git a/OpenSim/Data/SQLite/Tests/SQLiteInventoryTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteInventoryTest.cs
index 70903c3..ae360f1 100644
--- a/OpenSim/Data/SQLite/Tests/SQLiteInventoryTest.cs
+++ b/OpenSim/Data/SQLite/Tests/SQLiteInventoryTest.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 50
45 file = Path.GetTempFileName() + ".db"; 51 file = Path.GetTempFileName() + ".db";
diff --git a/OpenSim/Data/SQLite/Tests/SQLiteRegionTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteRegionTest.cs
index 652a53a..48f3cbb 100644
--- a/OpenSim/Data/SQLite/Tests/SQLiteRegionTest.cs
+++ b/OpenSim/Data/SQLite/Tests/SQLiteRegionTest.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";
diff --git a/OpenSim/Data/SQLite/Tests/SQLiteUserTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteUserTest.cs
index 6f8d89d..3f8c049 100644
--- a/OpenSim/Data/SQLite/Tests/SQLiteUserTest.cs
+++ b/OpenSim/Data/SQLite/Tests/SQLiteUserTest.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";