summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/autobuilder-worker-prereq-tests10
1 files changed, 8 insertions, 2 deletions
diff --git a/scripts/autobuilder-worker-prereq-tests b/scripts/autobuilder-worker-prereq-tests
index bb46c69135..358dd2beee 100755
--- a/scripts/autobuilder-worker-prereq-tests
+++ b/scripts/autobuilder-worker-prereq-tests
@@ -15,6 +15,12 @@
15# test buildistory git repo works? 15# test buildistory git repo works?
16# 16#
17 17
18if [ ! -x $HOME/yocto-autobuilder-helper/scripts/checkvnc ]; then
19 echo "$HOME/yocto-autobuilder-helper should be created."
20 exit 1
21fi
22$HOME/yocto-autobuilder-helper/scripts/checkvnc
23
18. ./oe-init-build-env > /dev/null 24. ./oe-init-build-env > /dev/null
19if [ "$?" != "0" ]; then 25if [ "$?" != "0" ]; then
20 exit 1 26 exit 1
@@ -53,12 +59,12 @@ if [ ! -e bzImage-qemux86-64.bin ]; then
53fi 59fi
54popd 60popd
55bitbake qemu-helper-native 61bitbake qemu-helper-native
56runqemu qemux86-64 62DISPLAY=:1 runqemu serialstdio qemux86-64
57if [ "$?" != "0" ]; then 63if [ "$?" != "0" ]; then
58 echo "Unable to use runqemu" 64 echo "Unable to use runqemu"
59 exit 1 65 exit 1
60fi 66fi
61runqemu qemux86-64 kvm 67DISPLAY=:1 runqemu serialstdio qemux86-64 kvm
62if [ "$?" != "0" ]; then 68if [ "$?" != "0" ]; then
63 echo "Unable to use runqemu with kvm" 69 echo "Unable to use runqemu with kvm"
64 exit 1 70 exit 1