1. 07 6月, 2016 1 次提交
  2. 23 3月, 2016 1 次提交
  3. 16 2月, 2016 1 次提交
  4. 05 12月, 2015 1 次提交
  5. 19 6月, 2015 1 次提交
  6. 01 7月, 2014 1 次提交
    • P
      libqtest: escape strings in QMP commands, fix leak · 563890c7
      Paolo Bonzini 提交于
      libqtest is using g_strdup_printf to format QMP commands, but
      this does not work if the argument strings need to be escaped.
      Instead, use the fancy %-formatting functionality of QObject.
      The only change required in tests is that strings have to be
      formatted as %s, not '%s' or \"%s\".  Luckily this usage of
      parameterized QMP commands is not that frequent.
      
      The leak is in socket_sendf.  Since we are extracting the send
      loop to a new function, fix it now.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      563890c7
  7. 28 5月, 2014 1 次提交
  8. 13 3月, 2014 1 次提交
  9. 18 2月, 2014 1 次提交
  10. 14 2月, 2014 3 次提交
  11. 18 12月, 2013 2 次提交
  12. 19 11月, 2013 1 次提交
    • A
      qtest: Use -display none by default · 2ad645d2
      Andreas Färber 提交于
      This avoids each test needing to add it to suppress windows popping up.
      
      [Commit 7ceeedd0 ("blockdev-test: add
      test case for drive_add duplicate IDs") and commit
      43cd2098 ("qdev-monitor-test: add
      device_add leak test cases") added qtest tests without specifying
      -display none.
      
      As a result, "make check" now tries to use graphics (GTK or SDL).  Since
      graphics are not used by the test and inappropriate for headless "make
      check" runs, add the missing -display none.
      
      This fixes "make check" in the QEMU buildbot.
      -- Stefan]
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      2ad645d2
  13. 06 11月, 2013 1 次提交
    • A
      qtest: Prepare QOM machine tests · 7c41f217
      Andreas Färber 提交于
      Instantiate all [*] machines per target, so that they get a bit of test
      coverage at all. This has proven helpful during QOM refactorings.
      
      [*] ppcemb target contains some non-working non-embedded machines, and
      ppc405 CPUs are not available there either.
      i386 and x86_64 do not cover pc*-x.y or xenfv.
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      7c41f217