Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
76269b70
"tests/test_buffers.cpp" did not exist on "bf0c7dcc2264317c5e741a00a4fa78b8e12d24cf"
Commit
76269b70
authored
Dec 13, 2015
by
Wenzel Jakob
Browse files
fix test harness for windows debug builds
parent
bda3b67d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
example/run_test.py
example/run_test.py
+3
-1
No files found.
example/run_test.py
View file @
76269b70
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment