mirror of
https://github.com/esphome/esphome.git
synced 2026-11-06 21:25:57 +00:00
[core] Add FixedVector::try_init so callers can handle an exhausted heap (#19253)
This commit is contained in:
1 parent
fc8611a212
commit
4f0faac148
3 files changed
+61
-13
No files matched your search
@@ -36,7 +36,8 @@ PLATFORMIO_OPTIONS = {
|
||||
|
||||
|
||||
def run_tests(selected_components: list[str]) -> int:
|
||||
os.environ["ASAN_OPTIONS"] = "detect_leaks=0"
|
||||
# allocator_may_return_null: an oversized request must come back empty, not abort the run
|
||||
os.environ["ASAN_OPTIONS"] = "detect_leaks=0:allocator_may_return_null=1"
|
||||
return build_and_run(
|
||||
selected_components=selected_components,
|
||||
tests_dir=COMPONENTS_TESTS_DIR,
|
||||
|
||||
Reference in new issue
Block a user