mirror of
git://git.yoctoproject.org/yocto-autobuilder-helper.git
synced 2025-07-19 20:59:02 +02:00
scripts/run-toaster-tests: Add check of toaster fixtures against current release data
Add a check of the fixture data to try and ensure we don't release with incorrect configuration for toaster. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
b990e819aa
commit
3659743a57
|
@ -31,3 +31,9 @@ source venv/bin/activate
|
||||||
python3 -m pip install -r $pokydir/bitbake/toaster-requirements.txt -r $pokydir/bitbake/lib/toaster/tests/toaster-tests-requirements.txt
|
python3 -m pip install -r $pokydir/bitbake/toaster-requirements.txt -r $pokydir/bitbake/lib/toaster/tests/toaster-tests-requirements.txt
|
||||||
|
|
||||||
python3 -m pytest -c $pokydir/bitbake/lib/toaster/pytest.ini $pokydir/bitbake/lib/toaster/tests/
|
python3 -m pytest -c $pokydir/bitbake/lib/toaster/pytest.ini $pokydir/bitbake/lib/toaster/tests/
|
||||||
|
|
||||||
|
if [ -e $pokydir/bitbake/lib/toaster/orm/fixtures/check_fixtures.py ]; then
|
||||||
|
echo "Checking toaster fixtures"
|
||||||
|
cd $pokydir/bitbake/lib/toaster/orm/fixtures/
|
||||||
|
$pokydir/bitbake/lib/toaster/orm/fixtures/check_fixtures.py
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user