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:
Richard Purdie 2025-03-05 10:22:07 +00:00
parent b990e819aa
commit 3659743a57

View File

@ -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 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