]> code.ossystems Code Review - openembedded-core.git/commit
scripts:/oe-selftest: Use timestamp instead of test names in coverage data file
authorHumberto Ibarra <humberto.ibarra.lopez@intel.com>
Thu, 24 Mar 2016 00:32:02 +0000 (18:32 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 28 Mar 2016 14:54:52 +0000 (15:54 +0100)
commit7c0c9d1411e04935675f4c4be8768723c1d09b50
tree29e3e3f9bcebf47ba6c25dfe5315e2691c6453ee
parentae81abb3f5ec247114f7ba904d0b31fad5b16599
scripts:/oe-selftest: Use timestamp instead of test names in coverage data file

This fixes the problem by changing the name to the coverage data file,
using the timestamp as an identifier.

The name for the coverage data file is constructed based on the tests
ran; this has created a couple of issues so far, affecting coverage report.

If --run-tests-by option is given, the data file name won't have any
identifier, causing following runs to overwrite themselves. On the
other hand, if too many tests are given, the file name exceeds linux
limits and fails to store the coverage data all together.

[Yocto #9253]

Signed-off-by: Humberto Ibarra <humberto.ibarra.lopez@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/oe-selftest