commit 7ce64e2e13a302e3675718aef6238dd649dba5b3 Author: Jonas Eriksson Date: Thu Mar 27 10:08:44 2014 +0100 time drift test: Add configuration Signed-off-by: Jonas Eriksson 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