summaryrefslogtreecommitdiffstats
path: root/scripts/ci/oe-selftest.sh
diff options
context:
space:
mode:
authorlbonn <lbonn@users.noreply.github.com>2018-09-07 11:20:02 +0200
committerGitHub <noreply@github.com>2018-09-07 11:20:02 +0200
commitb252a30428b448b610edf59c0c0116a45039e4c8 (patch)
tree9ca5146bfb805be1c44a7ab7a35c73e51aa40242 /scripts/ci/oe-selftest.sh
parentd3e2c58e8655338b33738e495168a82a74e5b86c (diff)
parent12ee01db91117005b79a9264d8509a2daf86fa80 (diff)
downloadmeta-updater-b252a30428b448b610edf59c0c0116a45039e4c8.tar.gz
Merge pull request #384 from advancedtelematic/ci/oe-selftest
Ci/oe selftest
Diffstat (limited to 'scripts/ci/oe-selftest.sh')
-rwxr-xr-xscripts/ci/oe-selftest.sh18
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
5set -euo pipefail
6set -x
7
8TEST_MACHINE=${TEST_MACHINE:-qemux86-64}
9TEST_BUILD_DIR=${TEST_BUILD_DIR:-build}
10TEST_REPO_DIR=${TEST_REPO_DIR:-updater-repo}
11
12(
13set +euo pipefail
14set +x
15. "${TEST_REPO_DIR}/meta-updater/scripts/envsetup.sh" "${TEST_MACHINE}" "${TEST_BUILD_DIR}"
16
17oe-selftest -r updater
18)