yocto-autobuilder-helper/scripts/run-toaster-tests
Alexander Lussier-Cullen c12157b568 Add toaster test builder
Add a toaster test builder that runs the tox test suite using a new
run-toaster-tests script.

Signed-off-by: Alexander Lussier-Cullen <alexander.lussier-cullen@savoirfairelinux.com>
CC: richard.purdie@linuxfoundation.org
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-15 16:05:17 +00:00

414 B
Executable File

#!/bin/bash

SPDX-License-Identifier: GPL-2.0-only

Called with $1 as the build directory

$2 as the path to poky

set -e set -u set -o pipefail set -x

builddir=$(realpath "$1") pokydir=$(realpath "$2")

cd $builddir mkdir -p toaster_logs python3 -m venv venv --without-pip --system-site-packages source venv/bin/activate python3 -m pip install tox

tox -c $pokydir/bitbake/lib/toaster/tox.ini