SQLite doesn't work on ppc64, so ignore these tests if we are

on this platform
0.6.5-rc1
Sean Dague 2009-04-08 20:16:23 +00:00
parent ed70ef6407
commit 65dcfdf031
5 changed files with 30 additions and 0 deletions

View File

@ -40,6 +40,12 @@ namespace OpenSim.Data.SQLite.Tests
[TestFixtureSetUp] [TestFixtureSetUp]
public void Init() public void Init()
{ {
if (System.Environment.GetEnvironmentVariable("CPU") == "ppc64")
{
System.Console.WriteLine(System.Environment.GetEnvironmentVariable("CPU"));
Assert.Ignore();
}
SuperInit(); SuperInit();
file = Path.GetTempFileName() + ".db"; file = Path.GetTempFileName() + ".db";
connect = "URI=file:" + file + ",version=3"; connect = "URI=file:" + file + ",version=3";

View File

@ -40,6 +40,12 @@ namespace OpenSim.Data.SQLite.Tests
[TestFixtureSetUp] [TestFixtureSetUp]
public void Init() public void Init()
{ {
if (System.Environment.GetEnvironmentVariable("CPU") == "ppc64")
{
System.Console.WriteLine(System.Environment.GetEnvironmentVariable("CPU"));
Assert.Ignore();
}
SuperInit(); SuperInit();
file = Path.GetTempFileName() + ".db"; file = Path.GetTempFileName() + ".db";
connect = "URI=file:" + file + ",version=3"; connect = "URI=file:" + file + ",version=3";

View File

@ -40,6 +40,12 @@ namespace OpenSim.Data.SQLite.Tests
[TestFixtureSetUp] [TestFixtureSetUp]
public void Init() public void Init()
{ {
if (System.Environment.GetEnvironmentVariable("CPU") == "ppc64")
{
System.Console.WriteLine(System.Environment.GetEnvironmentVariable("CPU"));
Assert.Ignore();
}
SuperInit(); SuperInit();
file = Path.GetTempFileName() + ".db"; file = Path.GetTempFileName() + ".db";

View File

@ -40,6 +40,12 @@ namespace OpenSim.Data.SQLite.Tests
[TestFixtureSetUp] [TestFixtureSetUp]
public void Init() public void Init()
{ {
if (System.Environment.GetEnvironmentVariable("CPU") == "ppc64")
{
System.Console.WriteLine(System.Environment.GetEnvironmentVariable("CPU"));
Assert.Ignore();
}
SuperInit(); SuperInit();
file = Path.GetTempFileName() + ".db"; file = Path.GetTempFileName() + ".db";
connect = "URI=file:" + file + ",version=3"; connect = "URI=file:" + file + ",version=3";

View File

@ -40,6 +40,12 @@ namespace OpenSim.Data.SQLite.Tests
[TestFixtureSetUp] [TestFixtureSetUp]
public void Init() public void Init()
{ {
if (System.Environment.GetEnvironmentVariable("CPU") == "ppc64")
{
System.Console.WriteLine(System.Environment.GetEnvironmentVariable("CPU"));
Assert.Ignore();
}
SuperInit(); SuperInit();
file = Path.GetTempFileName() + ".db"; file = Path.GetTempFileName() + ".db";
connect = "URI=file:" + file + ",version=3"; connect = "URI=file:" + file + ",version=3";