Skip to content
Snippets Groups Projects
  1. Aug 19, 2019
  2. Aug 17, 2019
    • Thomas Huth's avatar
      gitlab-ci: Remove qcow2 tests that are handled by "make check" already · 72e031f3
      Thomas Huth authored
      
      Since most iotests are now run during "make check" already, we do not
      need to test them explicitly from the gitlab-ci.yml script anymore.
      And while we're at it, add some of the new non-auto tests >= 246 instead.
      
      Message-Id: <20190717111947.30356-5-thuth@redhat.com>
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      72e031f3
    • Thomas Huth's avatar
      tests: Run the iotests during "make check" again · bdd95e47
      Thomas Huth authored
      
      People often forget to run the iotests before submitting patches or pull
      requests - this is likely due to the fact that we do not run the tests
      during our mandatory "make check" tests yet. Now that we've got a proper
      "auto" group of iotests that should be fine to run in every environment,
      we can enable the iotests during "make check" again by running the "auto"
      tests by default from the check-block.sh script.
      
      Some cases still need to be checked first, though: iotests need bash and
      GNU sed (otherwise they fail), and if gprof is enabled, it spoils the
      output of some test cases causing them to fail. So if we detect that one
      of the required programs is missing or that gprof is enabled, we still
      have to skip the iotests to avoid failures.
      
      And finally, since we are using check-block.sh now again, this patch also
      removes the qemu-iotests-quick.sh script since we do not need that anymore
      (and having two shell wrapper scripts around the block tests seems rather
      confusing than helpful).
      
      Message-Id: <20190717111947.30356-4-thuth@redhat.com>
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      [AJB: -makecheck to check-block.sh, move check-block to start and gate it]
      Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      bdd95e47
    • Paolo Bonzini's avatar
      block: fix NetBSD qemu-iotests failure · f6fc1e30
      Paolo Bonzini authored
      
      Opening a block device on NetBSD has an additional step compared to other OSes,
      corresponding to raw_normalize_devicepath.  The error message in that function
      is slightly different from that in raw_open_common and this was causing spurious
      failures in qemu-iotests.  However, in general it is not important to know what
      exact step was failing, for example in the qemu-iotests case the error message
      contains the fairly unequivocal "No such file or directory" text from strerror.
      We can thus fix the failures by standardizing on a single error message for
      both raw_open_common and raw_normalize_devicepath; in fact, we can even
      use error_setg_file_open to make sure the error message is the same as in
      the rest of QEMU.
      
      Message-Id: <20190725095920.28419-1-pbonzini@redhat.com>
      Tested-by: default avatarThomas Huth <thuth@redhat.com>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      f6fc1e30
  3. Aug 16, 2019
Loading