diff --git a/OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs index 7221811467..b99b248c39 100644 --- a/OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs +++ b/OpenSim/Data/SQLite/Tests/SQLiteAssetTest.cs @@ -41,9 +41,9 @@ namespace OpenSim.Data.SQLite.Tests [TestFixtureSetUp] public void Init() { - if (System.Environment.GetEnvironmentVariable("CPU") == "ppc64") + // SQLite doesn't work on power linux + if (File.Exists("/proc/ppc64")) { - System.Console.WriteLine(System.Environment.GetEnvironmentVariable("CPU")); Assert.Ignore(); } diff --git a/OpenSim/Data/SQLite/Tests/SQLiteEstateTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteEstateTest.cs index 9ed9897b42..fd157c67e6 100644 --- a/OpenSim/Data/SQLite/Tests/SQLiteEstateTest.cs +++ b/OpenSim/Data/SQLite/Tests/SQLiteEstateTest.cs @@ -41,9 +41,9 @@ namespace OpenSim.Data.SQLite.Tests [TestFixtureSetUp] public void Init() { - if (System.Environment.GetEnvironmentVariable("CPU") == "ppc64") + // SQLite doesn't work on power linux + if (File.Exists("/proc/ppc64")) { - System.Console.WriteLine(System.Environment.GetEnvironmentVariable("CPU")); Assert.Ignore(); } diff --git a/OpenSim/Data/SQLite/Tests/SQLiteInventoryTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteInventoryTest.cs index a5b2e0647b..c70be6d458 100644 --- a/OpenSim/Data/SQLite/Tests/SQLiteInventoryTest.cs +++ b/OpenSim/Data/SQLite/Tests/SQLiteInventoryTest.cs @@ -41,9 +41,9 @@ namespace OpenSim.Data.SQLite.Tests [TestFixtureSetUp] public void Init() { - if (System.Environment.GetEnvironmentVariable("CPU") == "ppc64") + // SQLite doesn't work on power linux + if (File.Exists("/proc/ppc64")) { - System.Console.WriteLine(System.Environment.GetEnvironmentVariable("CPU")); Assert.Ignore(); } diff --git a/OpenSim/Data/SQLite/Tests/SQLiteRegionTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteRegionTest.cs index be17a38615..da8f74f99f 100644 --- a/OpenSim/Data/SQLite/Tests/SQLiteRegionTest.cs +++ b/OpenSim/Data/SQLite/Tests/SQLiteRegionTest.cs @@ -41,9 +41,9 @@ namespace OpenSim.Data.SQLite.Tests [TestFixtureSetUp] public void Init() { - if (System.Environment.GetEnvironmentVariable("CPU") == "ppc64") + // SQLite doesn't work on power linux + if (File.Exists("/proc/ppc64")) { - System.Console.WriteLine(System.Environment.GetEnvironmentVariable("CPU")); Assert.Ignore(); } diff --git a/OpenSim/Data/SQLite/Tests/SQLiteUserTest.cs b/OpenSim/Data/SQLite/Tests/SQLiteUserTest.cs index 1c0ba712d4..06465e8382 100644 --- a/OpenSim/Data/SQLite/Tests/SQLiteUserTest.cs +++ b/OpenSim/Data/SQLite/Tests/SQLiteUserTest.cs @@ -41,9 +41,9 @@ namespace OpenSim.Data.SQLite.Tests [TestFixtureSetUp] public void Init() { - if (System.Environment.GetEnvironmentVariable("CPU") == "ppc64") + // SQLite doesn't work on power linux + if (File.Exists("/proc/ppc64")) { - System.Console.WriteLine(System.Environment.GetEnvironmentVariable("CPU")); Assert.Ignore(); }