From dfe11f47349bbbe5cf8143aab85f1b9c409d0a14 Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Mon, 15 Jul 2013 17:09:39 +0100 Subject: [PATCH] Correct pass_count to fail_count in testrun.bat. locbwcss shouldn't fail if there are non-contiguous allocations. Those are perfectly legitimate (MVFF uses CBS, which needs to allocate nodes in its splay tree). Copied from Perforce Change: 183047 ServerID: perforce.ravenbrook.com --- mps/code/locbwcss.c | 2 -- mps/tool/testrun.bat | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/mps/code/locbwcss.c b/mps/code/locbwcss.c index a731bc47198..ef29f241c00 100644 --- a/mps/code/locbwcss.c +++ b/mps/code/locbwcss.c @@ -178,8 +178,6 @@ static void testInArena(mps_arena_t arena) if (lostat->max > histat->min) { error("\nFOUND PROBLEM - low range overlaps high\n"); - } else if (lostat->ncCount != 0 || histat->ncCount != 0) { - error("\nFOUND POSSIBLE PROBLEM - some non-contiguous allocations\n"); } else { printf("\nNo problems detected.\n"); } diff --git a/mps/tool/testrun.bat b/mps/tool/testrun.bat index 097fc2b7cdd..a6fad0fa334 100755 --- a/mps/tool/testrun.bat +++ b/mps/tool/testrun.bat @@ -9,7 +9,7 @@ set VARIETY=%1 shift set TEST_COUNT=0 -set PASS_COUNT=0 +set FAIL_COUNT=0 set SEPARATOR=---------------------------------------- set LOGDIR=%TMP%\mps-%VARIETY%-log echo Logging test output to %LOGDIR%