qtests, clean-ups and macOS CI testing
Hi Peter,
the following changes since commit 6cb4f6db4f4367faa33da85b15f75bbbd2bed2a6:
Merge remote-tracking branch 'remotes/cleber/tags/python-next-pull-request' into staging (2019-03-07 16:16:02 +0000)
are available in the git repository at:
https://gitlab.com/huth/qemu.git tags/pull-request-2019-03-08
for you to fetch changes up to 4966c5bd8a6ab17214f54f8016426f95303f9760:
cirrus.yml: Add macOS continuous integration task (2019-03-08 09:54:29 +0100)
----------------------------------------------------------------
- qtest fixes
- Some generic clean-ups by Philippe
- macOS CI testing via cirrus-ci.com
----------------------------------------------------------------
Marc-André Lureau (1):
vhost-user-test: fix leaks
Philippe Mathieu-Daudé (4):
tests: Move qdict-test-data.txt to tests/data/qobject/
hw: Remove unused 'hw/devices.h' include
hw/devices: Remove unused TC6393XB_RAM definition tests/bios-tables: Improve portability by searching bash in the $PATH
Thomas Huth (2):
tests: Do not use "\n" in g_test_message() strings cirrus.yml: Add macOS continuous integration task
.cirrus.yml | 15 +++++++++++++-- MAINTAINERS | 2 +- configure | 2 +- hw/alpha/typhoon.c | 1 - hw/arm/allwinner-a10.c | 1 - hw/arm/collie.c | 1 - hw/arm/cubieboard.c | 1 - hw/arm/highbank.c | 1 - hw/arm/mps2-tz.c | 1 - hw/arm/musicpal.c | 1 - hw/arm/nrf51_soc.c | 1 - hw/arm/spitz.c | 1 - hw/arm/virt.c | 1 - hw/arm/z2.c | 1 - hw/display/sm501.c | 1 - hw/hppa/dino.c | 1 - hw/intc/allwinner-a10-pic.c | 1 - hw/lm32/lm32_boards.c | 1 - hw/lm32/milkymist.c | 1 - hw/microblaze/petalogix_ml605_mmu.c | 1 - hw/microblaze/petalogix_s3adsp1800_mmu.c | 1 - hw/net/dp8393x.c | 1 - hw/ppc/virtex_ml507.c | 1 - hw/sh4/r2d.c | 1 - hw/tricore/tricore_testboard.c | 1 - hw/usb/tusb6010.c | 1 - include/hw/devices.h | 1 - tests/check-qdict.c | 2 +- tests/data/acpi/rebuild-expected-aml.sh | 2 +- qdict-test-data.txt => tests/data/qobject/qdict.txt | 0 tests/ivshmem-test.c | 4 ++-- tests/m48t59-test.c | 4 ++-- tests/migration-test.c | 4 ++-- tests/rtc-test.c | 4 ++-- tests/rtl8139-test.c | 6 +++--- tests/test-aio-multithread.c | 8 ++++---- tests/test-coroutine.c | 10 ++++------ tests/vhost-user-test.c | 13 ++++++++----- 38 files changed, 44 insertions(+), 56 deletions(-) rename qdict-test-data.txt => tests/data/qobject/qdict.txt (100%)
[Qemu-devel] [PULL 1/7] tests: Move qdict-test-data.txt to tests/data/qobject/
From: Philippe Mathieu-Daudé <[email protected]>
Move qdict-test-data.txt to the tests/data/qobject/ subdirectory, and remove the unnecessary symlinking.
(See 4b2ff65a1f3 for similar test-data cleanup).
--- MAINTAINERS | 2 +- configure | 2 +- tests/check-qdict.c | 2 +- qdict-test-data.txt => tests/data/qobject/qdict.txt | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename qdict-test-data.txt => tests/data/qobject/qdict.txt (100%)
MAINTAINERS +1 -1
@@ -1965,7 +1965,7 @@ F: tests/check-qnull.c F: tests/check-qnum.c F: tests/check-qobject.c F: tests/check-qstring.c -F: qdict-test-data.txt +F: tests/data/qobject/qdict.txt T: git https://repo.or.cz/qemu/armbru.git qapi-next QEMU Guest Agent
configure +1 -1
@@ -7662,7 +7662,7 @@ DIRS="$DIRS tests/fp" DIRS="$DIRS docs docs/interop fsdev scsi" DIRS="$DIRS pc-bios/optionrom pc-bios/spapr-rtas pc-bios/s390-ccw" DIRS="$DIRS roms/seabios roms/vgabios" -LINKS="Makefile tests/tcg/Makefile qdict-test-data.txt" +LINKS="Makefile tests/tcg/Makefile" LINKS="$LINKS tests/tcg/cris/Makefile tests/tcg/cris/.gdbinit" LINKS="$LINKS tests/tcg/lm32/Makefile tests/tcg/xtensa/Makefile po/Makefile" LINKS="$LINKS tests/fp/Makefile"
tests/check-qdict.c +1 -1
@@ -291,7 +291,7 @@ static void qdict_stress_test(void)FILE *test_file;QDict *qdict;QString *value; -const char *test_file_path ="qdict-test-data.txt" ; +const char *test_file_path ="tests/data/qobject/qdict.txt" ; test_file =fopen (test_file_path,"r" );g_assert (test_file !=NULL );
tests/data/qobject/qdict.txt renamed from qdict-test-data.txt +0 -0
Signature · 1 line
1.8.3.1
[Qemu-devel] [PULL 3/7] hw/devices: Remove unused TC6393XB_RAM definition
In reply to Thomas HuthFrom: Philippe Mathieu-Daudé <[email protected]>
Introduced in 64b40bc54a9, this definition is no more used since a0b753dfd39. Remove it.
--- include/hw/devices.h | 1 - 1 file changed, 1 deletion(-)
include/hw/devices.h +0 -1
@@ -52,7 +52,6 @@ void retu_key_event(void *retu, int state);/* tc6393xb.c */ typedef struct TC6393xbState TC6393xbState ; -#define TC6393XB_RAM 0x110000/* amount of ram for Video and USB */ TC6393xbState *tc6393xb_init (struct MemoryRegion *sysmem,uint32_t base,qemu_irq irq); void tc6393xb_gpio_out_set(TC6393xbState *s, int line,
Signature · 1 line
1.8.3.1
[Qemu-devel] [PULL 2/7] hw: Remove unused 'hw/devices.h' include
In reply to Thomas HuthFrom: Philippe Mathieu-Daudé <[email protected]>
--- hw/alpha/typhoon.c | 1 - hw/arm/allwinner-a10.c | 1 - hw/arm/collie.c | 1 - hw/arm/cubieboard.c | 1 - hw/arm/highbank.c | 1 - hw/arm/mps2-tz.c | 1 - hw/arm/musicpal.c | 1 - hw/arm/nrf51_soc.c | 1 - hw/arm/spitz.c | 1 - hw/arm/virt.c | 1 - hw/arm/z2.c | 1 - hw/display/sm501.c | 1 - hw/hppa/dino.c | 1 - hw/intc/allwinner-a10-pic.c | 1 - hw/lm32/lm32_boards.c | 1 - hw/lm32/milkymist.c | 1 - hw/microblaze/petalogix_ml605_mmu.c | 1 - hw/microblaze/petalogix_s3adsp1800_mmu.c | 1 - hw/net/dp8393x.c | 1 - hw/ppc/virtex_ml507.c | 1 - hw/sh4/r2d.c | 1 - hw/tricore/tricore_testboard.c | 1 - hw/usb/tusb6010.c | 1 - 23 files changed, 23 deletions(-)
hw/alpha/typhoon.c +0 -1
@@ -11,7 +11,6 @@#include "qapi/error.h" #include "cpu.h" #include "hw/hw.h" -#include "hw/devices.h" #include "sysemu/sysemu.h" #include "alpha_sys.h" #include "exec/address-spaces.h"
hw/arm/allwinner-a10.c +0 -1
@@ -20,7 +20,6 @@#include "qemu-common.h" #include "cpu.h" #include "hw/sysbus.h" -#include "hw/devices.h" #include "hw/arm/allwinner-a10.h" #include "hw/misc/unimp.h"
hw/arm/collie.c +0 -1
@@ -12,7 +12,6 @@#include "hw/hw.h" #include "hw/sysbus.h" #include "hw/boards.h" -#include "hw/devices.h" #include "strongarm.h" #include "hw/arm/arm.h" #include "hw/block/flash.h"
hw/arm/cubieboard.c +0 -1
@@ -20,7 +20,6 @@#include "qemu-common.h" #include "cpu.h" #include "hw/sysbus.h" -#include "hw/devices.h" #include "hw/boards.h" #include "hw/arm/allwinner-a10.h"
hw/arm/highbank.c +0 -1
@@ -21,7 +21,6 @@#include "qapi/error.h" #include "hw/sysbus.h" #include "hw/arm/arm.h" -#include "hw/devices.h" #include "hw/loader.h" #include "net/net.h" #include "sysemu/kvm.h"
hw/arm/mps2-tz.c +0 -1
@@ -56,7 +56,6 @@#include "hw/arm/armsse.h" #include "hw/dma/pl080.h" #include "hw/ssi/pl022.h" -#include "hw/devices.h" #include "net/net.h" #include "hw/core/split-irq.h"
hw/arm/musicpal.c +0 -1
@@ -15,7 +15,6 @@#include "cpu.h" #include "hw/sysbus.h" #include "hw/arm/arm.h" -#include "hw/devices.h" #include "net/net.h" #include "sysemu/sysemu.h" #include "hw/boards.h"
hw/arm/nrf51_soc.c +0 -1
@@ -14,7 +14,6 @@#include "hw/arm/arm.h" #include "hw/sysbus.h" #include "hw/boards.h" -#include "hw/devices.h" #include "hw/misc/unimp.h" #include "exec/address-spaces.h" #include "sysemu/sysemu.h"
hw/arm/spitz.c +0 -1
@@ -21,7 +21,6 @@#include "hw/ssi/ssi.h" #include "hw/block/flash.h" #include "qemu/timer.h" -#include "hw/devices.h" #include "hw/arm/sharpsl.h" #include "ui/console.h" #include "hw/audio/wm8750.h"
hw/arm/virt.c +0 -1
@@ -38,7 +38,6 @@#include "hw/vfio/vfio-calxeda-xgmac.h" #include "hw/vfio/vfio-amd-xgbe.h" #include "hw/display/ramfb.h" -#include "hw/devices.h" #include "net/net.h" #include "sysemu/device_tree.h" #include "sysemu/numa.h"
hw/arm/z2.c +0 -1
@@ -15,7 +15,6 @@#include "hw/hw.h" #include "hw/arm/pxa.h" #include "hw/arm/arm.h" -#include "hw/devices.h" #include "hw/i2c/i2c.h" #include "hw/ssi/ssi.h" #include "hw/boards.h"
hw/display/sm501.c +0 -1
@@ -32,7 +32,6 @@#include "hw/hw.h" #include "hw/char/serial.h" #include "ui/console.h" -#include "hw/devices.h" #include "hw/sysbus.h" #include "hw/pci/pci.h" #include "hw/i2c/i2c.h"
hw/hppa/dino.c +0 -1
@@ -15,7 +15,6 @@#include "qapi/error.h" #include "cpu.h" #include "hw/hw.h" -#include "hw/devices.h" #include "sysemu/sysemu.h" #include "hw/pci/pci.h" #include "hw/pci/pci_bus.h"
hw/intc/allwinner-a10-pic.c +0 -1
@@ -17,7 +17,6 @@#include "qemu/osdep.h" #include "hw/sysbus.h" -#include "hw/devices.h" #include "sysemu/sysemu.h" #include "hw/intc/allwinner-a10-pic.h" #include "qemu/log.h"
hw/lm32/lm32_boards.c +0 -1
@@ -25,7 +25,6 @@#include "hw/sysbus.h" #include "hw/hw.h" #include "hw/block/flash.h" -#include "hw/devices.h" #include "hw/boards.h" #include "hw/loader.h" #include "elf.h"
hw/lm32/milkymist.c +0 -1
@@ -27,7 +27,6 @@#include "hw/block/flash.h" #include "sysemu/sysemu.h" #include "sysemu/qtest.h" -#include "hw/devices.h" #include "hw/boards.h" #include "hw/loader.h" #include "elf.h"
hw/microblaze/petalogix_ml605_mmu.c +0 -1
@@ -35,7 +35,6 @@#include "net/net.h" #include "hw/block/flash.h" #include "sysemu/sysemu.h" -#include "hw/devices.h" #include "hw/boards.h" #include "hw/char/serial.h" #include "exec/address-spaces.h"
hw/microblaze/petalogix_s3adsp1800_mmu.c +0 -1
@@ -33,7 +33,6 @@#include "net/net.h" #include "hw/block/flash.h" #include "sysemu/sysemu.h" -#include "hw/devices.h" #include "hw/boards.h" #include "hw/misc/unimp.h" #include "exec/address-spaces.h"
hw/net/dp8393x.c +0 -1
@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "hw/sysbus.h" -#include "hw/devices.h" #include "net/net.h" #include "qapi/error.h" #include "qemu/timer.h"
hw/ppc/virtex_ml507.c +0 -1
@@ -31,7 +31,6 @@#include "hw/block/flash.h" #include "sysemu/sysemu.h" #include "sysemu/qtest.h" -#include "hw/devices.h" #include "hw/boards.h" #include "sysemu/device_tree.h" #include "hw/loader.h"
hw/sh4/r2d.c +0 -1
@@ -31,7 +31,6 @@#include "hw/sysbus.h" #include "hw/hw.h" #include "hw/sh4/sh.h" -#include "hw/devices.h" #include "sysemu/sysemu.h" #include "hw/boards.h" #include "hw/pci/pci.h"
hw/tricore/tricore_testboard.c +0 -1
@@ -24,7 +24,6 @@#include "qemu-common.h" #include "cpu.h" #include "hw/hw.h" -#include "hw/devices.h" #include "net/net.h" #include "sysemu/sysemu.h" #include "hw/boards.h"
hw/usb/tusb6010.c +0 -1
@@ -24,7 +24,6 @@#include "hw/usb.h" #include "hw/arm/omap.h" #include "hw/irq.h" -#include "hw/devices.h" #include "hw/sysbus.h" #define TYPE_TUSB6010 "tusb6010"
Signature · 1 line
1.8.3.1
[Qemu-devel] [PULL 4/7] tests: Do not use "\n" in g_test_message() strings
In reply to Thomas Huthg_test_message() takes care of the newline on its own, so we should not use \n in the strings here.
--- tests/ivshmem-test.c | 4 ++-- tests/m48t59-test.c | 4 ++-- tests/migration-test.c | 4 ++-- tests/rtc-test.c | 4 ++-- tests/rtl8139-test.c | 6 +++--- tests/test-aio-multithread.c | 8 ++++---- tests/test-coroutine.c | 10 ++++------ tests/vhost-user-test.c | 10 +++++----- 8 files changed, 24 insertions(+), 26 deletions(-)
tests/ivshmem-test.c +2 -2
@@ -74,7 +74,7 @@ static inline unsigned in_reg(IVState *s, enum Reg reg)unsigned res; res =qpci_io_readl (s->dev, s->reg_bar, reg); -g_test_message ("*%s -> %x\n" , name, res); +g_test_message ("*%s -> %x" , name, res);return res; }
@@ -83,7 +83,7 @@ static inline void out_reg(IVState *s, enum Reg reg, unsigned v) {const char *name =reg2str (reg); -g_test_message ("%x -> *%s\n" , v, name); +g_test_message ("%x -> *%s" , v, name);qpci_io_writel (s->dev, s->reg_bar, reg, v); }
tests/m48t59-test.c +2 -2
@@ -199,9 +199,9 @@ static void bcd_check_time(void) t = (long )mktime (datep); s = (long )mktime (&start);if (t < s) { -g_test_message ("RTC is %ld second(s) behind wall-clock\n" , (s - t)); +g_test_message ("RTC is %ld second(s) behind wall-clock" , (s - t)); }else { -g_test_message ("RTC is %ld second(s) ahead of wall-clock\n" , (t - s)); +g_test_message ("RTC is %ld second(s) ahead of wall-clock" , (t - s)); } g_assert_cmpint(ABS(t - s), <=, wiggle);
tests/migration-test.c +2 -2
@@ -1066,7 +1066,7 @@ int main(int argc, char **argv) tmpfs =mkdtemp (template);if (!tmpfs) { -g_test_message ("mkdtemp on path (%s): %s\n" , template,strerror (errno)); +g_test_message ("mkdtemp on path (%s): %s" , template,strerror (errno)); }g_assert (tmpfs);
@@ -1087,7 +1087,7 @@ int main(int argc, char **argv) ret =rmdir (tmpfs);if (ret !=0 ) { -g_test_message ("unable to rmdir: path (%s): %s\n" , +g_test_message ("unable to rmdir: path (%s): %s" , tmpfs,strerror (errno)); }
tests/rtc-test.c +2 -2
@@ -165,9 +165,9 @@ static void check_time(int wiggle) t = (long )mktime (datep); s = (long )mktime (&start);if (t < s) { -g_test_message ("RTC is %ld second(s) behind wall-clock\n" , (s - t)); +g_test_message ("RTC is %ld second(s) behind wall-clock" , (s - t)); }else { -g_test_message ("RTC is %ld second(s) ahead of wall-clock\n" , (t - s)); +g_test_message ("RTC is %ld second(s) ahead of wall-clock" , (t - s)); } g_assert_cmpint(ABS(t - s), <=, wiggle);
tests/rtl8139-test.c +3 -3
@@ -46,12 +46,12 @@ static QPCIDevice *get_device(void) static unsigned __attribute__((unused)) in_##name(void) \ { \ unsigned res = qpci_io_read##len(dev, dev_bar, (val)); \ - g_test_message("*%s -> %x\n", #name, res); \ + g_test_message("*%s -> %x", #name, res); \ return res; \ } \ static void out_##name(unsigned v) \ { \ - g_test_message("%x -> *%s\n", v, #name); \ + g_test_message("%x -> *%s", v, #name); \ qpci_io_write##len(dev, dev_bar, (val), v); \ }
@@ -176,7 +176,7 @@ static void test_timer(void) } } -g_test_message ("Everythink is ok!\n" ); +g_test_message ("Everythink is ok!" ); }
tests/test-aio-multithread.c +4 -4
@@ -178,7 +178,7 @@ static void test_multi_co_schedule(int seconds) }join_aio_contexts (); -g_test_message ("scheduled %d, queued %d, retry %d, total %d\n" , +g_test_message ("scheduled %d, queued %d, retry %d, total %d" , count_other, count_here, count_retry, count_here + count_other + count_retry); }
@@ -242,7 +242,7 @@ static void test_multi_co_mutex(int threads, int seconds) }join_aio_contexts (); -g_test_message ("%d iterations/second\n" , counter / seconds); +g_test_message ("%d iterations/second" , counter / seconds); g_assert_cmpint(counter, ==, atomic_counter); }
@@ -361,7 +361,7 @@ static void test_multi_fair_mutex(int threads, int seconds) }join_aio_contexts (); -g_test_message ("%d iterations/second\n" , counter / seconds); +g_test_message ("%d iterations/second" , counter / seconds); g_assert_cmpint(counter, ==, atomic_counter); }
@@ -417,7 +417,7 @@ static void test_multi_mutex(int threads, int seconds) }join_aio_contexts (); -g_test_message ("%d iterations/second\n" , counter / seconds); +g_test_message ("%d iterations/second" , counter / seconds); g_assert_cmpint(counter, ==, atomic_counter); }
tests/test-coroutine.c +4 -6
@@ -369,7 +369,7 @@ static void perf_lifecycle(void) } duration =g_test_timer_elapsed (); -g_test_message ("Lifecycle %u iterations: %f s\n" , max, duration); +g_test_message ("Lifecycle %u iterations: %f s" , max, duration); }static void perf_nesting (void )
@@ -393,7 +393,7 @@ static void perf_nesting(void) } duration =g_test_timer_elapsed (); -g_test_message ("Nesting %u iterations of %u depth each: %f s\n" , +g_test_message ("Nesting %u iterations of %u depth each: %f s" , maxcycles, maxnesting, duration); }
@@ -426,8 +426,7 @@ static void perf_yield(void) } duration =g_test_timer_elapsed (); -g_test_message ("Yield %u iterations: %f s\n" , - maxcycles, duration); +g_test_message ("Yield %u iterations: %f s" , maxcycles, duration); }static __attribute__((noinline))void dummy (unsigned *i)
@@ -449,8 +448,7 @@ static void perf_baseline(void) } duration =g_test_timer_elapsed (); -g_test_message ("Function call %u iterations: %f s\n" , - maxcycles, duration); +g_test_message ("Function call %u iterations: %f s" , maxcycles, duration); }static __attribute__((noinline))void perf_cost_func (void *opaque)
tests/vhost-user-test.c +5 -5
@@ -337,7 +337,7 @@ static void chr_read(void *opaque, const uint8_t *buf, int size) }if (size !=VHOST_USER_HDR_SIZE ) { -g_test_message ("Wrong message size received %d\n" , size); +g_test_message ("Wrong message size received %d" , size);return ; }
@@ -348,7 +348,7 @@ static void chr_read(void *opaque, const uint8_t *buf, int size) p +=VHOST_USER_HDR_SIZE ; size =qemu_chr_fe_read_all (chr, p, msg.size);if (size != msg.size) { -g_test_message ("Wrong message size received %d != %d\n" , +g_test_message ("Wrong message size received %d != %d" , size, msg.size);return ; }
@@ -476,7 +476,7 @@ static const char *init_hugepagefs(void) }if (access (path,R_OK |W_OK |X_OK )) { -g_test_message ("access on path (%s): %s\n" , path,strerror (errno)); +g_test_message ("access on path (%s): %s" , path,strerror (errno));abort ();return NULL ; }
@@ -486,13 +486,13 @@ static const char *init_hugepagefs(void) }while (ret !=0 && errno ==EINTR );if (ret !=0 ) { -g_test_message ("statfs on path (%s): %s\n" , path,strerror (errno)); +g_test_message ("statfs on path (%s): %s" , path,strerror (errno));abort ();return NULL ; }if (fs.f_type !=HUGETLBFS_MAGIC ) { -g_test_message ("Warning: path not on HugeTLBFS: %s\n" , path); +g_test_message ("Warning: path not on HugeTLBFS: %s" , path);abort ();return NULL ; }
Signature · 1 line
1.8.3.1
[Qemu-devel] [PULL 5/7] vhost-user-test: fix leaks
In reply to Thomas HuthFrom: Marc-André Lureau <[email protected]>
Spotted by ASAN.
--- tests/vhost-user-test.c | 3 +++ 1 file changed, 3 insertions(+)
tests/vhost-user-test.c +3 -0
@@ -588,6 +588,7 @@ static void test_server_free(TestServer *server)g_test_message ("unable to rmdir: path (%s): %s" , server->tmpfs,strerror (errno)); } +g_free (server->tmpfs);qemu_chr_fe_deinit (&server->chr, true);
@@ -605,6 +606,8 @@ static void test_server_free(TestServer *server)g_main_loop_unref (server->loop);g_main_context_unref (server->context); +g_cond_clear (&server->data_cond); +g_mutex_clear (&server->data_mutex);g_free (server); }
Signature · 1 line
1.8.3.1
[Qemu-devel] [PULL 6/7] tests/bios-tables: Improve portability by searching bash in the $PATH
In reply to Thomas HuthFrom: Philippe Mathieu-Daudé <[email protected]>
Bash is not always installed as /bin/bash. In particular on OpenBSD, the package installs it in /usr/local/bin.
Use the 'env' shebang to search bash in the $PATH.
--- tests/data/acpi/rebuild-expected-aml.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/data/acpi/rebuild-expected-aml.sh +1 -1
@@ -1,4 +1,4 @@ -#! /bin/bash +#!/usr/bin/env bash # # Rebuild expected AML files for acpi unit-test
Signature · 1 line
1.8.3.1
[Qemu-devel] [PULL 7/7] cirrus.yml: Add macOS continuous integration task
In reply to Thomas Huthcirrus-ci.com also has the possibility to run CI tasks on macOS. Since most of the QEMU developers do not have access to macOS yet, let's add a CI pipeline for this operating system here, too.
--- .cirrus.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-)
.cirrus.yml +13 -2
@@ -1,10 +1,11 @@ +env: + CIRRUS_CLONE_DEPTH: 1 + freebsd_12_task: freebsd_instance: image: freebsd-12-0-release-amd64 cpu: 8 memory: 8G - env: - CIRRUS_CLONE_DEPTH: 1 install_script: pkg install -y bison curl cyrus-sasl git glib gmake gnutls nettle perl5 pixman pkgconf png usbredir
@@ -14,3 +15,13 @@ freebsd_12_task: - ../configure || { cat config.log; exit 1; } - gmake -j8 - gmake -j8 V=1 check + +macos_task: + osx_instance: + image: mojave-base + install_script: + - brew install pkg-config python glib pixman make sdl2 + script: + - ./configure --python=/usr/local/bin/python3 || { cat config.log; exit 1; } + - gmake -j$(sysctl -n hw.ncpu) + - gmake check -j$(sysctl -n hw.ncpu)
Signature · 1 line
1.8.3.1
Peter Maydell
AppliedQuoted 30 lines · Thomas Huth
Hi Peter,
the following changes since commit
6cb4f6db4f4367faa33da85b15f75bbbd2bed2a6:Merge remote-tracking branch 'remotes/cleber/tags/python-next-pull-request' into staging (2019-03-07 16:16:02 +0000)
are available in the git repository at:
https://gitlab.com/huth/qemu.git tags/pull-request-2019-03-08
for you to fetch changes up to
4966c5bd8a6ab17214f54f8016426f95303f9760:cirrus.yml: Add macOS continuous integration task (2019-03-08 09:54:29 +0100)
----------------------------------------------------------------
- qtest fixes
- Some generic clean-ups by Philippe
- macOS CI testing via cirrus-ci.com
----------------------------------------------------------------Marc-André Lureau (1):
vhost-user-test: fix leaksPhilippe Mathieu-Daudé (4):
tests: Move qdict-test-data.txt to tests/data/qobject/
hw: Remove unused 'hw/devices.h' include
hw/devices: Remove unusedTC6393XB_RAMdefinition tests/bios-tables: Improve portability by searching bash in the $PATH
Quoted 3 lines
Thomas Huth (2):
tests: Do not use "\n" ing_test_message()strings cirrus.yml: Add macOS continuous integration task
Applied, thanks.
Please update the changelog at https://wiki.qemu.org/ChangeLog/4.0
for any user-visible changes.
-- PMM