1. 01 11月, 2019 2 次提交
  2. 25 10月, 2019 36 次提交
  3. 24 10月, 2019 2 次提交
    • A
      tests/domaincaps: Use testQemuCapsIterate() · 6a077cf2
      Andrea Bolognani 提交于
      Now that the only data we need for fully testing a QEMU binary is
      the (version, arch) combo, we can stop providing that information
      ourselves and instead rely on testQemuCapsIterate() automatically
      picking up new input files as they are added to the repository,
      the same way the qemucapabilities and qemucaps2xml tests already
      behave.
      
      Unsurprisingly, this change results in a bunch of extra output
      files being created, significantly expanding our test coverage.
      Signed-off-by: NAndrea Bolognani <abologna@redhat.com>
      Reviewed-by: NJiri Denemark <jdenemar@redhat.com>
      6a077cf2
    • A
      tests/domaincaps: Make test matrix programmatic · 79a14412
      Andrea Bolognani 提交于
      For each QEMU version there are usually several different,
      architecture-dependedn scenarios that we're interested in testing;
      however, since the test matrix has to be explicitly created by
      calling DO_TEST_QEMU() multiple times with different arguments, we
      end up with spotty coverage.
      
      Fix this by implementing the arch-specific rules in code, which
      result in the full coverage for a (version, arch) combo being
      automatically achieved with a single call to DO_TEST_QEMU().
      
      Unsurprisingly, this change results in a bunch of extra output
      files being created.
      Signed-off-by: NAndrea Bolognani <abologna@redhat.com>
      Reviewed-by: NJiri Denemark <jdenemar@redhat.com>
      79a14412