[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH RFC] tests: Run qtest cases in parallel
From: |
Fam Zheng |
Subject: |
Re: [Qemu-devel] [PATCH RFC] tests: Run qtest cases in parallel |
Date: |
Wed, 28 Sep 2016 09:45:28 +0800 |
User-agent: |
Mutt/1.7.0 (2016-08-17) |
On Wed, 09/28 01:31, Gonglei (Arei) wrote:
> # ./tests/virtio-net-test
> **
> ERROR:tests/libqtest.c:561:qtest_get_arch: assertion failed: (qemu != NULL)
> Aborted (core dumped)
>
> # ./tests/virtio-blk-test
> **
> ERROR:tests/libqtest.c:561:qtest_get_arch: assertion failed: (qemu != NULL)
> Aborted (core dumped)
>
> But they work after I set the environment variable to specify architecture:
>
> # QTEST_QEMU_BINARY=x86_64-softmmu/qemu-system-x86_64 ./tests/virtio-net-test
> /x86_64/virtio/net/pci/basic: OK
> /x86_64/virtio/net/pci/rx_stop_cont: OK
> /x86_64/virtio/net/pci/hotplug: OK
>
> # QTEST_QEMU_BINARY=x86_64-softmmu/qemu-system-x86_64 ./tests/virtio-blk-test
> /x86_64/virtio/blk/pci/basic: OK
> /x86_64/virtio/blk/pci/indirect: OK
> /x86_64/virtio/blk/pci/config: OK
> /x86_64/virtio/blk/pci/msix: OK
> /x86_64/virtio/blk/pci/idx: OK
> /x86_64/virtio/blk/pci/hotplug: OK
>
> So, Maybe we should add check if the environment relied on is set
> before executing specific operations in this kind of tests. Right?
Or make a guess based on $(realpath $0]) (in this case, print the found path to
avoid testing against wrong binary by mistake).
Fam
- Re: [Qemu-devel] [PATCH RFC] tests: Run qtest cases in parallel, John Snow, 2016/09/21
- Re: [Qemu-devel] [PATCH RFC] tests: Run qtest cases in parallel, Fam Zheng, 2016/09/23
- Re: [Qemu-devel] [PATCH RFC] tests: Run qtest cases in parallel, Gonglei (Arei), 2016/09/23
- Re: [Qemu-devel] [PATCH RFC] tests: Run qtest cases in parallel, Fam Zheng, 2016/09/23
- Re: [Qemu-devel] [PATCH RFC] tests: Run qtest cases in parallel, Gonglei (Arei), 2016/09/23
- Re: [Qemu-devel] [PATCH RFC] tests: Run qtest cases in parallel, Daniel P. Berrange, 2016/09/27
- Re: [Qemu-devel] [PATCH RFC] tests: Run qtest cases in parallel, Gonglei (Arei), 2016/09/27
- Re: [Qemu-devel] [PATCH RFC] tests: Run qtest cases in parallel,
Fam Zheng <=
- Re: [Qemu-devel] [PATCH RFC] tests: Run qtest cases in parallel, Gonglei (Arei), 2016/09/27
- Re: [Qemu-devel] [PATCH RFC] tests: Run qtest cases in parallel, Fam Zheng, 2016/09/27
Re: [Qemu-devel] [PATCH RFC] tests: Run qtest cases in parallel, Daniel P. Berrange, 2016/09/27