diff options
Diffstat (limited to 'scripts/ci/oe-selftest.sh')
-rwxr-xr-x | scripts/ci/oe-selftest.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/scripts/ci/oe-selftest.sh b/scripts/ci/oe-selftest.sh new file mode 100755 index 0000000..3124cce --- /dev/null +++ b/scripts/ci/oe-selftest.sh | |||
@@ -0,0 +1,18 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | # run meta-updater's oe-selftests | ||
4 | |||
5 | set -euo pipefail | ||
6 | set -x | ||
7 | |||
8 | TEST_MACHINE=${TEST_MACHINE:-qemux86-64} | ||
9 | TEST_BUILD_DIR=${TEST_BUILD_DIR:-build} | ||
10 | TEST_REPO_DIR=${TEST_REPO_DIR:-updater-repo} | ||
11 | |||
12 | ( | ||
13 | set +euo pipefail | ||
14 | set +x | ||
15 | . "${TEST_REPO_DIR}/meta-updater/scripts/envsetup.sh" "${TEST_MACHINE}" "${TEST_BUILD_DIR}" | ||
16 | |||
17 | oe-selftest -r updater | ||
18 | ) | ||