From 44764e1112d8735f78619d92e43e8f3efafda178 Mon Sep 17 00:00:00 2001 From: akscram Date: Fri, 27 Aug 2021 21:44:43 +0000 Subject: [PATCH] CI: add package attribute in testsuite git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14716 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- tools/workflows/make.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/workflows/make.py b/tools/workflows/make.py index c74b7d767..1543faa56 100755 --- a/tools/workflows/make.py +++ b/tools/workflows/make.py @@ -80,12 +80,14 @@ def make(args): path = os.path.join(directory, makefile) if args.prefix: assert path.startswith(args.prefix) - path = path[len(args.prefix):] + path = path[len(args.prefix):].lstrip(os.path.sep) + package = path.partition(os.path.sep)[0] suite = junit_xml.TestSuite( path, timestamp=time.time(), file=path, + package=package, ) cmd = ['/usr/bin/env', 'make']