Message ID | 20231207210834.205200-1-marlon.rodriguez-garcia@savoirfairelinux.com |
---|---|
State | New |
Headers | show |
Series | [yocto-autobuilder-helper] script/run-toaster-test : Added new global variables needed to run test in toaster build folder | expand |
----- Original Message ----- From: "Marlon Rodriguez Garcia" <marlon.rodriguez-garcia@savoirfairelinux.com> To: yocto@lists.yoctoproject.org Sent: Thursday, December 7, 2023 4:08:34 PM Subject: [PATCH yocto-autobuilder-helper] 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> --- scripts/run-toaster-tests | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/run-toaster-tests b/scripts/run-toaster-tests index b694e37..ba1f6db 100755 --- a/scripts/run-toaster-tests +++ b/scripts/run-toaster-tests @@ -20,6 +20,8 @@ export SSTATE_DIR=$(grep '^SSTATE_DIR=' bbenv | cut -d "=" -f2- | sed -e 's/^"// export DL_DIR=$(grep '^DL_DIR=' bbenv | cut -d "=" -f2- | sed -e 's/^"//' -e 's/"$//') export TOASTER_DJANGO_TMPDIR=$builddir export TOASTER_DIR=$builddir +export TOASTER_TEST_USE_SSTATE_MIRROR=True +export BUILDDIR=$builddir/ mkdir -p toaster_logs
diff --git a/scripts/run-toaster-tests b/scripts/run-toaster-tests index b694e37..ba1f6db 100755 --- a/scripts/run-toaster-tests +++ b/scripts/run-toaster-tests @@ -20,6 +20,8 @@ export SSTATE_DIR=$(grep '^SSTATE_DIR=' bbenv | cut -d "=" -f2- | sed -e 's/^"// export DL_DIR=$(grep '^DL_DIR=' bbenv | cut -d "=" -f2- | sed -e 's/^"//' -e 's/"$//') export TOASTER_DJANGO_TMPDIR=$builddir export TOASTER_DIR=$builddir +export TOASTER_TEST_USE_SSTATE_MIRROR=True +export BUILDDIR=$builddir/ mkdir -p toaster_logs
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> --- scripts/run-toaster-tests | 2 ++ 1 file changed, 2 insertions(+)