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

View File

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

View File

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

View File

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

View File

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