twister: fix HW map fixtures parsing
We were not parsing fixtures from hardware map, so some tests are being skipped. Fixes #31948 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
2a74053558
commit
ce954d4769
1 changed files with 2 additions and 0 deletions
|
@ -3919,6 +3919,7 @@ class HardwareMap:
|
|||
runner = dut.get('runner')
|
||||
serial = dut.get('serial')
|
||||
product = dut.get('product')
|
||||
fixtures = dut.get('fixtures', [])
|
||||
new_dut = DUT(platform=platform,
|
||||
product=product,
|
||||
runner=runner,
|
||||
|
@ -3928,6 +3929,7 @@ class HardwareMap:
|
|||
pre_script=pre_script,
|
||||
post_script=post_script,
|
||||
post_flash_script=post_flash_script)
|
||||
new_dut.fixtures = fixtures
|
||||
new_dut.counter = 0
|
||||
self.duts.append(new_dut)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue