diff options
| -rw-r--r-- | meta/lib/oeqa/buildperf/base.py | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/meta/lib/oeqa/buildperf/base.py b/meta/lib/oeqa/buildperf/base.py index 9700c05925..2c102554b9 100644 --- a/meta/lib/oeqa/buildperf/base.py +++ b/meta/lib/oeqa/buildperf/base.py @@ -428,6 +428,11 @@ class BuildPerfTestCase(unittest.TestCase):              n_e_v, revision = nevr.rsplit('-', 1)              match = re.match(r'^(?P<name>\S+)-((?P<epoch>[0-9]{1,5})_)?(?P<version>[0-9]\S*)$',                               n_e_v) +            if not match: +                # If we're not able to parse a version starting with a number, just +                # take the part after last dash +                match = re.match(r'^(?P<name>\S+)-((?P<epoch>[0-9]{1,5})_)?(?P<version>[^-]+)$', +                                 n_e_v)              name = match.group('name')              version = match.group('version')              epoch = match.group('epoch') | 
