summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2017-05-04 14:49:58 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-11-05 22:39:47 +0000
commiteff8629de1fb096e2fb22de047902a38872301b2 (patch)
tree163595c7cb463556d95bc651d3644786d0b93f1c /scripts
parentb9d63e19a978278647f6a6563d081c5a8ab70deb (diff)
downloadpoky-eff8629de1fb096e2fb22de047902a38872301b2.tar.gz
oe-build-perf-report: allow slashes in {branch} field in tag names
The target branch name might contain slashes. (From OE-Core rev: 3ddde7d5bcffdd855dae0da6ba5feec752cbacec) (From OE-Core rev: 6b3f1a6107de04bc4f212876db2e3c4c762b044a) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/oe-build-perf-report1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/oe-build-perf-report b/scripts/oe-build-perf-report
index 876e3b1a76..d460caae18 100755
--- a/scripts/oe-build-perf-report
+++ b/scripts/oe-build-perf-report
@@ -63,6 +63,7 @@ def get_test_runs(repo, tag_name, **kwargs):
63 63
64 # Parse undefined fields from tag names 64 # Parse undefined fields from tag names
65 str_fields = dict([(f, r'(?P<{}>[\w\-.()]+)'.format(f)) for f in field_names]) 65 str_fields = dict([(f, r'(?P<{}>[\w\-.()]+)'.format(f)) for f in field_names])
66 str_fields['branch'] = r'(?P<branch>[\w\-.()/]+)'
66 str_fields['commit'] = '(?P<commit>[0-9a-f]{7,40})' 67 str_fields['commit'] = '(?P<commit>[0-9a-f]{7,40})'
67 str_fields['commit_number'] = '(?P<commit_number>[0-9]{1,7})' 68 str_fields['commit_number'] = '(?P<commit_number>[0-9]{1,7})'
68 str_fields['tag_number'] = '(?P<tag_number>[0-9]{1,5})' 69 str_fields['tag_number'] = '(?P<tag_number>[0-9]{1,5})'