change power linux detection method, the previous method only worked
with interactive logins, not under panda.0.6.5-rc1
parent
9bdfb9034d
commit
fefcb8432f
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue