diff --git a/scripts/pylib/twister/twisterlib/package.py b/scripts/pylib/twister/twisterlib/package.py index aaf065d625d..5ae17e7601c 100644 --- a/scripts/pylib/twister/twisterlib/package.py +++ b/scripts/pylib/twister/twisterlib/package.py @@ -26,7 +26,9 @@ class Artifacts: jtp = json.load(json_test_plan) for t in jtp['testsuites']: 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( [