summaryrefslogtreecommitdiffstats
path: root/recipes-test/virt-test/files/qemu-tests-time-drift-config.patch
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2014-10-10 03:19:54 +0200
committerTudor Florea <tudor.florea@enea.com>2014-10-10 03:19:54 +0200
commitc158582c0fc7f4bd73980fe9adad446855f4d61b (patch)
tree31b701a2367cb983e76e76cd7c2ba176ad33e5ac /recipes-test/virt-test/files/qemu-tests-time-drift-config.patch
downloadmeta-vt-c158582c0fc7f4bd73980fe9adad446855f4d61b.tar.gz
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'recipes-test/virt-test/files/qemu-tests-time-drift-config.patch')
-rw-r--r--recipes-test/virt-test/files/qemu-tests-time-drift-config.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/recipes-test/virt-test/files/qemu-tests-time-drift-config.patch b/recipes-test/virt-test/files/qemu-tests-time-drift-config.patch
new file mode 100644
index 0000000..16bec8d
--- /dev/null
+++ b/recipes-test/virt-test/files/qemu-tests-time-drift-config.patch
@@ -0,0 +1,37 @@
1commit 7ce64e2e13a302e3675718aef6238dd649dba5b3
2Author: Jonas Eriksson <jonas.eriksson@enea.com>
3Date: Thu Mar 27 10:08:44 2014 +0100
4
5 time drift test: Add configuration
6
7 Signed-off-by: Jonas Eriksson <jonas.eriksson@enea.com>
8 Upstream-Status: Inappropriate [configuration]
9
10diff --git a/qemu/tests/cfg/timedrift_check_clock_offset.cfg b/qemu/tests/cfg/timedrift_check_clock_offset.cfg
11index 3395ede..460435d 100644
12--- a/qemu/tests/cfg/timedrift_check_clock_offset.cfg
13+++ b/qemu/tests/cfg/timedrift_check_clock_offset.cfg
14@@ -8,11 +8,10 @@
15 type = timedrift_check_with_syscall
16 start_vm = yes
17 only Linux
18- no JeOS
19 tmp_dir = "/tmp"
20 result_file = "clktest.log"
21 build_cmd = "gcc -lrt ${tmp_dir}/clktest.c -o clktest"
22- test_cmd = "./clktest"
23+ test_cmd = "/opt/virt-test/test-providers.d/downloads/io-github-autotest-qemu/qemu/deps/timedrift/clktest"
24 check_timeout = 300
25 - when_crash:
26 type = timedrift_check_when_crash
27diff --git a/qemu/tests/cfg/tsc_drift.cfg b/qemu/tests/cfg/tsc_drift.cfg
28index 26f0cef..a55385c 100644
29--- a/qemu/tests/cfg/tsc_drift.cfg
30+++ b/qemu/tests/cfg/tsc_drift.cfg
31@@ -6,4 +6,6 @@
32 interval = 30
33 required_cpu_flags = "constant_tsc"
34 pre_command = "/usr/bin/python shared/scripts/check_cpu_flag.py"
35+ tsc_cmd_host = "/opt/virt-test/test-providers.d/downloads/io-github-autotest-qemu/qemu/deps/timedrift/get_tsc"
36+ tsc_cmd_guest = "/opt/virt-test/test-providers.d/downloads/io-github-autotest-qemu/qemu/deps/timedrift/get_tsc"
37 smp_min = 2