From 65dcfdf031cd6f355f5b71bb885e1dfcbf4d785b Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Wed, 8 Apr 2009 20:16:23 +0000 Subject: SQLite doesn't work on ppc64, so ignore these tests if we are on this platform --- OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs | 6 ++++++ OpenSim/Data/SQLite/Tests/SQLiteEstateTest.cs | 6 ++++++ OpenSim/Data/SQLite/Tests/SQLiteInventoryTest.cs | 6 ++++++ OpenSim/Data/SQLite/Tests/SQLiteRegionTest.cs | 6 ++++++ OpenSim/Data/SQLite/Tests/SQLiteUserTest.cs | 6 ++++++ 5 files changed, 30 insertions(+) (limited to 'OpenSim') 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 [TestFixtureSetUp] public void Init() { + if (System.Environment.GetEnvironmentVariable("CPU") == "ppc64") + { + System.Console.WriteLine(System.Environment.GetEnvironmentVariable("CPU")); + Assert.Ignore(); + } + SuperInit(); file = Path.GetTempFileName() + ".db"; 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 [TestFixtureSetUp] public void Init() { + if (System.Environment.GetEnvironmentVariable("CPU") == "ppc64") + { + System.Console.WriteLine(System.Environment.GetEnvironmentVariable("CPU")); + Assert.Ignore(); + } + SuperInit(); file = Path.GetTempFileName() + ".db"; 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 [TestFixtureSetUp] public void Init() { + if (System.Environment.GetEnvironmentVariable("CPU") == "ppc64") + { + System.Console.WriteLine(System.Environment.GetEnvironmentVariable("CPU")); + Assert.Ignore(); + } + SuperInit(); 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 [TestFixtureSetUp] public void Init() { + if (System.Environment.GetEnvironmentVariable("CPU") == "ppc64") + { + System.Console.WriteLine(System.Environment.GetEnvironmentVariable("CPU")); + Assert.Ignore(); + } + SuperInit(); file = Path.GetTempFileName() + ".db"; 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 [TestFixtureSetUp] public void Init() { + if (System.Environment.GetEnvironmentVariable("CPU") == "ppc64") + { + System.Console.WriteLine(System.Environment.GetEnvironmentVariable("CPU")); + Assert.Ignore(); + } + SuperInit(); file = Path.GetTempFileName() + ".db"; connect = "URI=file:" + file + ",version=3"; -- cgit v1.1