Commit Graph

5 Commits

Author SHA1 Message Date
Richard Purdie
a9233c154f scripts/run-toaster-tests: Ensure hashserve is passed to toaster
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-09 10:11:51 +00:00
Marlon Rodriguez Garcia
c4f8a45e0a script/run-toaster-test : Added new global variables needed to run test in toaster build folder
Update run-toaster-test to include BUILDDIR and TOASTER_TEST_USE_SSTATE_MIRROR which will be use in the build test in toaster

Signed-off-by: Marlon Rodriguez Garcia <marlon.rodriguez-garcia@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-08 12:06:53 +00:00
Alexander Lussier-Cullen
9291298d41 scripts/run-toaster-tests.py: run via pytest and fix environment setup
Strip quotes from directory variables as they caused path errors.
Add environment variable for the toaster artifact directory.
Migrate from tox and django tools to using pytest.
Install python module requirements from the script as this is no
longer handled by tox.

Signed-off-by: Alexander Lussier-Cullen <alexander.lussier-cullen@savoirfairelinux.com>
CC: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-06 22:37:42 +00:00
Alexander Lussier-Cullen
e1289afb9e scripts/run-toaster-tests.py: Add environment variables
Pass the toaster test environment SSTATE_DIR and DL_DIR for faster
builds and TOASTER_DJANGO_TMPDIR to remove problematic temp files
from the root level '/tmp' directory.

Signed-off-by: Alexander Lussier-Cullen <alexander.lussier-cullen@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-23 15:23:02 +00:00
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