scripts/collect-results: Ensure selftest doesn't trigger buildhistory results collection

Affects sumo since that doesn't have oe-selftest parallelism. thud/master create
these in a different location so don't see the issue.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2019-03-25 10:03:57 +00:00
parent 372282eb6b
commit a93a79945f

View File

@ -11,7 +11,9 @@ if [ -e $RESFILE ]; then
fi
if [ -e $WORKDIR/buildhistory ]; then
mkdir -p $DEST/$target
# ab-fetchrev tag set in buildhistory-init
$WORKDIR/../scripts/buildhistory-diff -p $WORKDIR/buildhistory ab-fetchrev > $DEST/$target/buildhistory.txt
if [ $(git -C $WORKDIR/buildhistory tag -l "ab-fetchrev") ]; then
mkdir -p $DEST/$target
$WORKDIR/../scripts/buildhistory-diff -p $WORKDIR/buildhistory ab-fetchrev > $DEST/$target/buildhistory.txt
fi
fi