summaryrefslogtreecommitdiffstats
path: root/recipes-test/virt-test/files/qemu-tests-time-drift-config.patch
blob: 16bec8d59e576746ca431626564b9ef0a5f1fe45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
commit 7ce64e2e13a302e3675718aef6238dd649dba5b3
Author: Jonas Eriksson <jonas.eriksson@enea.com>
Date:   Thu Mar 27 10:08:44 2014 +0100

    time drift test: Add configuration
    
    Signed-off-by: Jonas Eriksson <jonas.eriksson@enea.com>
    Upstream-Status: Inappropriate [configuration]

diff --git a/qemu/tests/cfg/timedrift_check_clock_offset.cfg b/qemu/tests/cfg/timedrift_check_clock_offset.cfg
index 3395ede..460435d 100644
--- a/qemu/tests/cfg/timedrift_check_clock_offset.cfg
+++ b/qemu/tests/cfg/timedrift_check_clock_offset.cfg
@@ -8,11 +8,10 @@
             type = timedrift_check_with_syscall
             start_vm = yes
             only Linux
-            no JeOS
             tmp_dir = "/tmp"
             result_file = "clktest.log"
             build_cmd = "gcc -lrt ${tmp_dir}/clktest.c -o clktest"
-            test_cmd = "./clktest"
+            test_cmd = "/opt/virt-test/test-providers.d/downloads/io-github-autotest-qemu/qemu/deps/timedrift/clktest"
             check_timeout = 300
         - when_crash:
             type = timedrift_check_when_crash
diff --git a/qemu/tests/cfg/tsc_drift.cfg b/qemu/tests/cfg/tsc_drift.cfg
index 26f0cef..a55385c 100644
--- a/qemu/tests/cfg/tsc_drift.cfg
+++ b/qemu/tests/cfg/tsc_drift.cfg
@@ -6,4 +6,6 @@
     interval = 30
     required_cpu_flags = "constant_tsc"
     pre_command = "/usr/bin/python shared/scripts/check_cpu_flag.py"
+    tsc_cmd_host = "/opt/virt-test/test-providers.d/downloads/io-github-autotest-qemu/qemu/deps/timedrift/get_tsc"
+    tsc_cmd_guest = "/opt/virt-test/test-providers.d/downloads/io-github-autotest-qemu/qemu/deps/timedrift/get_tsc"
     smp_min = 2