]> code.ossystems Code Review - openembedded-core.git/commit
oeqa.buildperf: another fix for splitting 'nevr' string
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Thu, 8 Sep 2016 16:47:46 +0000 (19:47 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 13 Sep 2016 14:18:42 +0000 (15:18 +0100)
commit936eb9aac055f1d4f41bb351477a0f5bebf76a0e
tree8961fbcf997ea95ec7bb82e73fb125ac7e840e67
parent0445e68fdbbba5c4efb6422c89ee864e4273b114
oeqa.buildperf: another fix for splitting 'nevr' string

When processing buildstats we determine recipe name, epoch, version and
revision from the per-recipe buildstat directory name.  One previous
patch made an assumption that package version starts with a number.
That might not be true because of a packaging mistake or whatever
reason. Thus, if a version starting with a number is not found, fall
back to the "old" method of just taking the second-last dash-delimited
part (the one before revision).

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oeqa/buildperf/base.py