From d566bdfe6d5ce3386b3f7e0f3ec943a4b67ad7f1 Mon Sep 17 00:00:00 2001 From: dsandersoremutah Date: Tue, 17 Oct 2006 21:34:23 +0000 Subject: [PATCH] Removed cache tests when doing under mono. git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@996 0109f412-320b-0410-ab79-c3e0c5ffbbe6 --- xflaim/csharp/cstest/CacheTests.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xflaim/csharp/cstest/CacheTests.cs b/xflaim/csharp/cstest/CacheTests.cs index 46a6c8c..648c803 100644 --- a/xflaim/csharp/cstest/CacheTests.cs +++ b/xflaim/csharp/cstest/CacheTests.cs @@ -43,7 +43,9 @@ namespace cstest ulong ulCacheAdjustMin = 20000000; ulong ulCacheAdjustMax = 1000000000; ulong ulCacheAdjustMinToLeave = 0; +#if !mono CS_XFLM_CACHE_INFO cacheInfo; +#endif beginTest( "Set dynamic cache limit test"); try @@ -59,6 +61,7 @@ namespace cstest } endTest( false, true); +#if !mono beginTest( "Get cache info for dynamic cache limit test"); try { @@ -93,6 +96,7 @@ namespace cstest return( false); } endTest( false, true); +#endif // SET AND TEST A HARD LIMIT @@ -109,6 +113,7 @@ namespace cstest } endTest( false, true); +#if !mono beginTest( "Get cache info for hard cache limit test"); try { @@ -140,6 +145,7 @@ namespace cstest printCacheUsage( cacheInfo.blockCache, "BLOCK CACHE USAGE"); printCacheUsage( cacheInfo.nodeCache, "NODE CACHE USAGE"); +#endif return( true); }