From 76269b70b699baa81579cd7a538d284413f457e9 Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Sun, 13 Dec 2015 11:33:41 +0100 Subject: [PATCH] fix test harness for windows debug builds --- example/run_test.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/example/run_test.py b/example/run_test.py index fcfce1428..7c1bf7d50 100755 --- a/example/run_test.py +++ b/example/run_test.py @@ -25,8 +25,10 @@ def sanitize(lines): line = line.strip() if sys.platform == 'win32': lower = line.lower() + # The precise pattern of allocations and deallocations is dependent on the compiler + # and optimization level, so we unfortunately can't reliably check it in this kind of test case if 'constructor' in lower or 'destructor' in lower \ - or 'ref' in lower: + or 'ref' in lower or 'freeing' in lower: line = "" lines[i] = line