change power linux detection method, the previous method only worked

with interactive logins, not under panda.
0.6.5-rc1
Sean Dague 2009-04-24 12:06:24 +00:00
parent 9bdfb9034d
commit fefcb8432f
5 changed files with 10 additions and 10 deletions

View File

@ -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();
}

View File

@ -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();
}

View File

@ -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();
}

View File

@ -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();
}

View File

@ -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();
}