skip sqlite tests on z linux, as sqlite doesn't work right on the platform

arthursv
Sean Dague 2009-08-06 14:01:36 -04:00
parent 1b65bd5861
commit b0e6d0fc01
5 changed files with 13 additions and 13 deletions

View File

@ -41,8 +41,8 @@ namespace OpenSim.Data.SQLite.Tests
[TestFixtureSetUp]
public void Init()
{
// SQLite doesn't work on power linux
if (Directory.Exists("/proc/ppc64"))
// SQLite doesn't work on power or z linux
if (Directory.Exists("/proc/ppc64") || Directory.Exists("/proc/dasd"))
{
Assert.Ignore();
}
@ -61,4 +61,4 @@ namespace OpenSim.Data.SQLite.Tests
File.Delete(file);
}
}
}
}

View File

@ -41,8 +41,8 @@ namespace OpenSim.Data.SQLite.Tests
[TestFixtureSetUp]
public void Init()
{
// SQLite doesn't work on power linux
if (Directory.Exists("/proc/ppc64"))
// SQLite doesn't work on power or z linux
if (Directory.Exists("/proc/ppc64") || Directory.Exists("/proc/dasd"))
{
Assert.Ignore();
}

View File

@ -41,8 +41,8 @@ namespace OpenSim.Data.SQLite.Tests
[TestFixtureSetUp]
public void Init()
{
// SQLite doesn't work on power linux
if (Directory.Exists("/proc/ppc64"))
// SQLite doesn't work on power or z linux
if (Directory.Exists("/proc/ppc64") || Directory.Exists("/proc/dasd"))
{
Assert.Ignore();
}

View File

@ -41,8 +41,8 @@ namespace OpenSim.Data.SQLite.Tests
[TestFixtureSetUp]
public void Init()
{
// SQLite doesn't work on power linux
if (Directory.Exists("/proc/ppc64"))
// SQLite doesn't work on power or z linux
if (Directory.Exists("/proc/ppc64") || Directory.Exists("/proc/dasd"))
{
Assert.Ignore();
}
@ -61,4 +61,4 @@ namespace OpenSim.Data.SQLite.Tests
File.Delete(file);
}
}
}
}

View File

@ -41,8 +41,8 @@ namespace OpenSim.Data.SQLite.Tests
[TestFixtureSetUp]
public void Init()
{
// SQLite doesn't work on power linux
if (Directory.Exists("/proc/ppc64"))
// SQLite doesn't work on power or z linux
if (Directory.Exists("/proc/ppc64") || Directory.Exists("/proc/dasd"))
{
Assert.Ignore();
}
@ -61,4 +61,4 @@ namespace OpenSim.Data.SQLite.Tests
File.Delete(file);
}
}
}
}