diff mbox series

[yocto-autobuilder-helper] script/run-toaster-test : Added new global variables needed to run test in toaster build folder

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

Commit Message

Marlon Rodriguez Garcia Dec. 7, 2023, 9:08 p.m. UTC
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(+)

Comments

Marlon Rodriguez Garcia Dec. 7, 2023, 10:02 p.m. UTC | #1
----- 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 mbox series

Patch

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