tests/installed: Add NOTE when re-using RPMs

One gotcha here is that we don't invalidate the RPMs if we're not
sitting on the same commit anymore. Shouldn't be too hard to fix, though
let's at least make a note of it for now.

Closes: #1668
Approved by: cgwalters
This commit is contained in:
Jonathan Lebon 2018-07-04 11:59:18 -04:00 committed by Atomic Bot
parent 61ba4e7e5a
commit 2cb2571127

View File

@ -7,6 +7,10 @@ dn=$(cd $(dirname $0) && pwd)
if ! test -d build; then
mkdir -p build
(cd build && ${dn}/../../ci/build-rpm.sh)
else
# XXX: we should invalidate based on `git describe` or something
echo "NOTE: Re-using prebuilt RPMs:"
find build -name '*.rpm'
fi
# https://fedoraproject.org/wiki/CI/Tests