CI: add package attribute in testsuite

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14716 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
akscram 2021-08-27 21:44:43 +00:00
parent b1dfaea9d1
commit 44764e1112
1 changed files with 3 additions and 1 deletions

View File

@ -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']