blob: 66b1fc9872a7ae2798e94013106e2b2aa2147552 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/bash
# run meta-updater's oe-selftests
set -euo pipefail
set -x
TEST_MACHINE=${TEST_MACHINE:-qemux86-64}
TEST_BUILD_DIR=${TEST_BUILD_DIR:-build}
TEST_REPO_DIR=${TEST_REPO_DIR:-updater-repo}
(
set +euo pipefail
set +x
METADIR=$(realpath "$TEST_REPO_DIR")
export METADIR
. "${TEST_REPO_DIR}/meta-updater/scripts/envsetup.sh" "${TEST_MACHINE}" "${TEST_BUILD_DIR}"
set -x
oe-selftest -r "$@"
)
|