twister: normalize platform name when packaging
When creating a package, normalize platform names. Fixes #69793 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
88728f32f6
commit
961b83a431
1 changed files with 3 additions and 1 deletions
|
@ -26,7 +26,9 @@ class Artifacts:
|
||||||
jtp = json.load(json_test_plan)
|
jtp = json.load(json_test_plan)
|
||||||
for t in jtp['testsuites']:
|
for t in jtp['testsuites']:
|
||||||
if t['status'] != "filtered":
|
if t['status'] != "filtered":
|
||||||
dirs.append(os.path.join(self.options.outdir, t['platform'], t['name']))
|
p = t['platform']
|
||||||
|
normalized = p.replace("/", "_")
|
||||||
|
dirs.append(os.path.join(self.options.outdir, normalized, t['name']))
|
||||||
|
|
||||||
dirs.extend(
|
dirs.extend(
|
||||||
[
|
[
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue