diff mbox series

[2/2] qemu-iotests: add "make check-block" job to Travis

Message ID 20190209040132.25573-3-crosa@redhat.com (mailing list archive)
State New, archived
Headers show
Series qemu-iotests: add a Travis job | expand

Commit Message

Cleber Rosa Feb. 9, 2019, 4:01 a.m. UTC
I usually keep an eye if I'm breaking stuff by looking at Travis
(too).  So it seems like a good idea to add a job that will do that.

A few things deserve a better explanation:

  * test 233 requires "--enable-gnutls", and fails without it

  * QEMU seems unable to initialize sound devices on the environment
    given by Travis, and that's why it's compiled without any audio
    driver.

  * The syntax for setting an empty list of audio drivers possibly
    deserves some TLC (it's not currently possible to set it to an
    empty list with quotes, resulting in something like "Unknown
    driver '''' selected".

Signed-off-by: Cleber Rosa <crosa@redhat.com>
---
 .travis.yml | 8 ++++++++
 1 file changed, 8 insertions(+)
diff mbox series

Patch

diff --git a/.travis.yml b/.travis.yml
index 87d9fa971c..6d60ae9762 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -196,6 +196,14 @@  matrix:
           packages:
             - python3-pip
             - python3.5-venv
+
+
+    # qemu-iotests
+    - env:
+        - CONFIG="--target-list=x86_64-softmmu --enable-gnutls --audio-drv-list="
+        - TEST_CMD="make check-block"
+
+
     # Using newer GCC with sanitizers
     - addons:
         apt: