• Andreas Färber's avatar
    qtest: Use -display none by default · 2ad645d2
    Andreas Färber authored
    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: default avatarAndreas Färber <afaerber@suse.de>
    Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
    2ad645d2
rtc-test.c 15.6 KB