if [[ $RAISIN_ARCH != "x86_64" && $RAISIN_ARCH != "x86_32" ]]
then
echo $PREPEND busybox hvm test only valid on x86
- exit 0
+ return 0
fi
TMPDIR=`mktemp -d`
if [[ $RAISIN_ARCH != "x86_64" && $RAISIN_ARCH != "x86_32" ]]
then
echo $PREPEND busybox hvm test only valid on x86
- exit 0
+ return 0
fi
busybox-hvm-test
}
function cirros-minios-stubdom-hvm-test() {
+ if [[ $RAISIN_ARCH != "x86_64" && $RAISIN_ARCH != "x86_32" ]]
+ then
+ return 0
+ fi
+
download_cirros_components
testdir=`mktemp -d`
cp $CIRROS_DOWNLOADS/$CIRROS_DISK_FILE $testdir
}
function cirros-minios-stubdom-pvhvm-test() {
+ if [[ $RAISIN_ARCH != "x86_64" && $RAISIN_ARCH != "x86_32" ]]
+ then
+ return 0
+ fi
+
download_cirros_components
testdir=`mktemp -d`
cp $CIRROS_DOWNLOADS/$CIRROS_DISK_FILE $testdir
}
function cirros-pvgrub2-pv-test() {
+ if [[ $RAISIN_ARCH != "x86_64" && $RAISIN_ARCH != "x86_32" ]]
+ then
+ return 0
+ fi
+
download_cirros_components
testdir=`mktemp -d`
cp $CIRROS_DOWNLOADS/$CIRROS_DISK_FILE $testdir
}
function cirros-pygrub-pv-test() {
+ if [[ $RAISIN_ARCH != "x86_64" && $RAISIN_ARCH != "x86_32" ]]
+ then
+ echo $PREPEND cirros tests disabled on ARM for now
+ return 0
+ fi
+
download_cirros_components
testdir=`mktemp -d`
cp $CIRROS_DOWNLOADS/$CIRROS_DISK_FILE $testdir
}
function cirros-qemu-hvm-test() {
+ if [[ $RAISIN_ARCH != "x86_64" && $RAISIN_ARCH != "x86_32" ]]
+ then
+ return 0
+ fi
+
download_cirros_components
testdir=`mktemp -d`
cp $CIRROS_DOWNLOADS/$CIRROS_DISK_FILE $testdir
}
function cirros-qemu-pvhvm-test() {
+ if [[ $RAISIN_ARCH != "x86_64" && $RAISIN_ARCH != "x86_32" ]]
+ then
+ return 0
+ fi
+
download_cirros_components
testdir=`mktemp -d`
cp $CIRROS_DOWNLOADS/$CIRROS_DISK_FILE $testdir
}
function cirros-separate-kernel-pv-test() {
+ if [[ $RAISIN_ARCH != "x86_64" && $RAISIN_ARCH != "x86_32" ]]
+ then
+ echo $PREPEND cirros tests disabled on ARM for now
+ return 0
+ fi
+
download_cirros_components
testdir=`mktemp -d`
cp $CIRROS_DOWNLOADS/$CIRROS_KERNEL_FILE $testdir