diff options
-rw-r--r-- | common/scripts/kvm/kvm-lava.conf | 1 | ||||
-rwxr-xr-x | common/scripts/kvm/test-host.sh | 1 | ||||
-rwxr-xr-x | common/scripts/kvm/test-kvm.sh | 2 | ||||
-rwxr-xr-x | common/scripts/kvm/test-lat_ctx-tests.sh | 10 |
4 files changed, 14 insertions, 0 deletions
diff --git a/common/scripts/kvm/kvm-lava.conf b/common/scripts/kvm/kvm-lava.conf index a86f1ba..52a7300 100644 --- a/common/scripts/kvm/kvm-lava.conf +++ b/common/scripts/kvm/kvm-lava.conf @@ -6,5 +6,6 @@ script echo "kvm-boot-1: pass" echo "Test hackbench on guest" sh /root/test-rt-tests.sh + sh /root/test-lat_ctx-tests.sh poweroff end script diff --git a/common/scripts/kvm/test-host.sh b/common/scripts/kvm/test-host.sh index 98a55bb..f2c4875 100755 --- a/common/scripts/kvm/test-host.sh +++ b/common/scripts/kvm/test-host.sh @@ -2,3 +2,4 @@ echo "Test hackbench on host" sh ./common/scripts/kvm/test-rt-tests.sh +sh ./common/scripts/kvm/test-lat_ctx-tests.sh diff --git a/common/scripts/kvm/test-kvm.sh b/common/scripts/kvm/test-kvm.sh index 87c4d8e..c322605 100755 --- a/common/scripts/kvm/test-kvm.sh +++ b/common/scripts/kvm/test-kvm.sh @@ -13,7 +13,9 @@ cp /mnt/boot/vmlinuz-*-linaro-vexpress ./zImage cp /mnt/lib/firmware/*-linaro-vexpress/device-tree/vexpress-v2p-ca15-tc1.dtb . cp common/scripts/kvm/kvm-lava.conf /mnt/etc/init/kvm-lava.conf cp /usr/bin/hackbench /mnt/usr/bin/hackbench +cp /usr/bin/lat_ctx /mnt/usr/bin/lat_ctx cp common/scripts/kvm/test-rt-tests.sh /mnt/root/test-rt-tests.sh +cp common/scripts/kvm/test-lat_ctx-tests.sh /mnt/root/test-lat_ctx-tests.sh chmod 777 /mnt/root/test-rt-tests.sh umount /mnt sync diff --git a/common/scripts/kvm/test-lat_ctx-tests.sh b/common/scripts/kvm/test-lat_ctx-tests.sh new file mode 100755 index 0000000..bf2f40d --- /dev/null +++ b/common/scripts/kvm/test-lat_ctx-tests.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +for i in $(seq 1 1000) +do + echo "lat_ctx iteration number $i " + /usr/bin/lat_ctx -s 64 2 + /usr/bin/lat_ctx -s 64 8 + /usr/bin/lat_ctx -s 64 16 + /usr/bin/lat_ctx -s 64 20 +done |