summaryrefslogtreecommitdiffstats
path: root/scripts/ci/oe-selftest.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/ci/oe-selftest.sh')
-rwxr-xr-xscripts/ci/oe-selftest.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/scripts/ci/oe-selftest.sh b/scripts/ci/oe-selftest.sh
index 3124cce..5400388 100755
--- a/scripts/ci/oe-selftest.sh
+++ b/scripts/ci/oe-selftest.sh
@@ -9,10 +9,18 @@ TEST_MACHINE=${TEST_MACHINE:-qemux86-64}
9TEST_BUILD_DIR=${TEST_BUILD_DIR:-build} 9TEST_BUILD_DIR=${TEST_BUILD_DIR:-build}
10TEST_REPO_DIR=${TEST_REPO_DIR:-updater-repo} 10TEST_REPO_DIR=${TEST_REPO_DIR:-updater-repo}
11 11
12OEST_ARGS=()
13for v in "$@"; do
14 OEST_ARGS+=("-r" "$v")
15done
16
12( 17(
13set +euo pipefail 18set +euo pipefail
14set +x 19set +x
20METADIR=$(realpath "$TEST_REPO_DIR")
21export METADIR
15. "${TEST_REPO_DIR}/meta-updater/scripts/envsetup.sh" "${TEST_MACHINE}" "${TEST_BUILD_DIR}" 22. "${TEST_REPO_DIR}/meta-updater/scripts/envsetup.sh" "${TEST_MACHINE}" "${TEST_BUILD_DIR}"
16 23
17oe-selftest -r updater 24set -x
25oe-selftest "${OEST_ARGS[@]}"
18) 26)