diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2014-06-26 13:57:02 +0200 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2014-06-26 13:57:02 +0200 |
commit | 74d51c8c3e18a8b6738aff0c6f7ff706fd70eaa6 (patch) | |
tree | d4b576b12f8fe930ac8a76056ecaa356ec0ec133 /recipes-test/virt-test/files/qemu-tests-time-drift-config.patch | |
download | meta-vt-74d51c8c3e18a8b6738aff0c6f7ff706fd70eaa6.tar.gz |
initial commit for Enea Linux 4.0daisy-enea
Migrated from the internal git server on the daisy-enea branch
Signed-off-by: Adrian Dudau <adrian.dudau@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.patch | 37 |
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 @@ | |||
1 | commit 7ce64e2e13a302e3675718aef6238dd649dba5b3 | ||
2 | Author: Jonas Eriksson <jonas.eriksson@enea.com> | ||
3 | Date: 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 | |||
10 | diff --git a/qemu/tests/cfg/timedrift_check_clock_offset.cfg b/qemu/tests/cfg/timedrift_check_clock_offset.cfg | ||
11 | index 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 | ||
27 | diff --git a/qemu/tests/cfg/tsc_drift.cfg b/qemu/tests/cfg/tsc_drift.cfg | ||
28 | index 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 | ||