]> git.proxmox.com Git - mirror_qemu.git/commit
tests/prom-env: Ease time-out problems on slow hosts
authorThomas Huth <thuth@redhat.com>
Fri, 10 Feb 2017 15:14:59 +0000 (16:14 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 10 Feb 2017 15:44:53 +0000 (15:44 +0000)
commit61eedf7aec0e2395aabd628cc055096909a3ea15
treec7681ad0bd9b1c204d9fd9957123dbf3736d8239
parent33d076ebd05491d9f7cace682b4ed70c33263f12
tests/prom-env: Ease time-out problems on slow hosts

Peter Maydell recently ran into time-out problems with the
prom-env test on a rather slow ARM board. To tackle this issue,
we can speed up the test by running QEMU with "-nodefaults" for
the pseries machine, so that SLOF has less devices to scan during
boot, and by using the "nvramrc" environment variable instead of
"boot-command", since this variable is evaluated earlier in the
boot process.
And to be really sure that we do not face such time out problems
again, let's also increase the time out value from 100s to 120s
instead.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-id: 1486739699-1076-1-git-send-email-thuth@redhat.com
Tested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
tests/prom-env-test.c