From 06cb20aaa8424ab668fddd3f5a2286b65186ef1d Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 17 Feb 2012 14:05:12 -0600 Subject: Simplify test for GuardMalloc --- test/LedgerHarness.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'test/LedgerHarness.py') diff --git a/test/LedgerHarness.py b/test/LedgerHarness.py index 48d038ba..c0dbe368 100755 --- a/test/LedgerHarness.py +++ b/test/LedgerHarness.py @@ -92,13 +92,7 @@ class LedgerHarness: def readlines(self, fd): lines = [] for line in fd.readlines(): - if line == "GuardMalloc: Allocations will be placed on byte boundaries.\n" or \ - line == "GuardMalloc: - Some buffer overruns may not be noticed.\n" or \ - line == "GuardMalloc: - Applications using vector instructions (e.g., SSE or Altivec) may fail.\n" or \ - line == "GuardMalloc: - Applications expecting word-aligned pointers may fail (such as Carbon applications)\n" or \ - line.startswith("GuardMalloc: GuardMalloc version"): - continue - else: + if not line.startswith("GuardMalloc"): lines.append(line) return lines -- cgit v1.2.3