1. 17 12月, 2018 1 次提交
  2. 16 8月, 2018 1 次提交
  3. 20 10月, 2017 1 次提交
    • E
      libqtest: Add qtest_[v]startf() · 78b27bad
      Eric Blake 提交于
      We have several callers that were formatting the argument strings
      themselves; consolidate this effort by adding new convenience
      functions directly in libqtest, and update some call-sites that
      can benefit from it.
      
      Note that the new functions qtest_startf() and qtest_vstartf()
      behave more like qtest_init() (the caller must assign global_qtest
      after the fact, rather than getting it implicitly set).  This helps
      us prepare for future patches that get rid of the global variable,
      by explicitly highlighting which tests still depend on it now.
      Signed-off-by: NEric Blake <eblake@redhat.com>
      [thuth: Dropped the hunks that do not apply cleanly to qemu master
       yet and added the missing g_free(args) in qtest_vstartf()]
      Signed-off-by: NThomas Huth <thuth@redhat.com>
      Message-Id: <1508336428-20511-2-git-send-email-thuth@redhat.com>
      Acked-by: NMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NCornelia Huck <cohuck@redhat.com>
      78b27bad
  4. 16 10月, 2017 1 次提交
    • T
      tests/prom-env: Bump the timeout, and test pseries only in slow mode · b95b5a0a
      Thomas Huth 提交于
      If QEMU has been compiled with the flags --enable-tcg-interpreter and
      --enable-debug, the guest is running incredibly slow. The prom-env
      test is approximately 10 times slower than normal in this case, and
      it takes up to 500 seconds until the test with the pseries machine
      finishs. While we should still look for ways to speed up the test
      on the pseries machine here, let's bump the timeout to 600 seconds to
      allow the test to pass with this unusal configuration already now.
      Also move the pseries test into the "slow" category - since it is
      really a very slow test.
      Reviewed-by: NStefan Weil <sw@weilnetz.de>
      Signed-off-by: NThomas Huth <thuth@redhat.com>
      b95b5a0a
  5. 28 2月, 2017 1 次提交
  6. 10 2月, 2017 1 次提交
    • T
      tests/prom-env: Ease time-out problems on slow hosts · 61eedf7a
      Thomas Huth 提交于
      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: NThomas Huth <thuth@redhat.com>
      Message-id: 1486739699-1076-1-git-send-email-thuth@redhat.com
      Tested-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      61eedf7a
  7. 28 10月, 2016 1 次提交
    • D
      tests: Add pseries machine to the prom-env-test, too · 53687348
      David Gibson 提交于
      Now that we also support the "-prom-env" parameter for the pseries
      machine, we can enable this test for this machine, too. Since booting
      with TCG is rather slow with the pseries machine, we also enable
      the "-nodefaults" parameter for this test now, so that SLOF does not
      have to check that much devices during boot and thus runs a little
      bit faster.
      Signed-off-by: NThomas Huth <thuth@redhat.com>
      [dwg: Don't add -nodefaults to the command line, it causes extra warnings
       for the sparc testcases]
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      53687348
  8. 21 7月, 2016 1 次提交
  9. 17 6月, 2016 1 次提交