Commit 5509d727 authored by Nico Weber's avatar Nico Weber Committed by Commit Bot

Fix last leak in ozone_unittests and run it on the cros lsan/asan bot.

Introduce a move-only ScopedWlArray to make sure all wl_arrays in the tests
get wl_array_release()d when they are no longer needed.

Also rename SetWlArrayWithState() to AddStateToWlArray() since it appends
to its argument and doesn't replace the contents (this part has no behavior
change).

TBR=kbr

Bug: 855588
Change-Id: I384ca182b44c9cb864d2d3e94c8ed4f0a0a16f77
Reviewed-on: https://chromium-review.googlesource.com/1113658
Commit-Queue: Nico Weber <thakis@chromium.org>
Reviewed-by: default avatarRobert Kroeger <rjkroege@chromium.org>
Cr-Commit-Position: refs/heads/master@{#570160}
parent bbcb7796
......@@ -4621,6 +4621,12 @@
},
"test": "ozone_gl_unittests"
},
{
"swarming": {
"can_use_on_swarming_builders": true
},
"test": "ozone_unittests"
},
{
"swarming": {
"can_use_on_swarming_builders": true
......
......@@ -1781,12 +1781,6 @@
'Out of Process Profiling Windows',
],
},
'ozone_unittests': {
'remove_from': [
# chromium.memory
'Linux Chromium OS ASan LSan Tests (1)', # https://crbug.com/855588
],
},
'printing_unittests': {
'remove_from': [
# chromium.chromiumos
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment