Skip to content
Commit 977e1b17 authored by douglas-raillard-arm's avatar douglas-raillard-arm
Browse files

lisa.tests.base: Do not deepcopy the instance in TestBundle.from_target

Serializing and deserializing an object is the equivalent of a deepcopy.
Since TestBundle references PlatformInfo objects, which can be quite big
(content of kallsyms and kernel config), this would imply keeping a copy
of that info in each instance we manipulate.

To avoid that issue, use the original bundle that references a shared
PlatformInfo (the one from the Target object).
parent f40fdec3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment