twister: Add "path" entry to json test report
"Path" is a path (relative to zephyr) to a directory with test suite's definition. Such entry helps to locate a given test. Signed-off-by: Maciej Perkowski <Maciej.Perkowski@nordicsemi.no>
This commit is contained in:
parent
dfec79c948
commit
4e4b743fe1
2 changed files with 3 additions and 0 deletions
|
@ -258,6 +258,7 @@ class Reporting:
|
|||
"name": instance.testsuite.name,
|
||||
"arch": instance.platform.arch,
|
||||
"platform": instance.platform.name,
|
||||
"path": instance.testsuite.source_dir_rel
|
||||
}
|
||||
if instance.run_id:
|
||||
suite['run_id'] = instance.run_id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue