Re: [Qemu-devel] Make test

2017-08-25 Thread Peter Maydell
On 25 August 2017 at 10:33, Fam Zheng wrote: > On Fri, 08/25 10:10, Peter Maydell wrote: >> The problem is that we don't have a good framework for building >> guest binaries to run under TCG. We should sort out one of those >> so that it's easy for a new test to say "this is the .c file, >> build

Re: [Qemu-devel] Make test

2017-08-25 Thread Fam Zheng
On Fri, 08/25 10:10, Peter Maydell wrote: > On 25 August 2017 at 06:49, Thomas Huth wrote: > > On 25.08.2017 00:16, Cleber Rosa wrote: > >> > >> On 08/24/2017 05:50 PM, Programmingkid wrote: > >>> > >>> Thank you for the patches. I will test them. I was wondering what is the > >>> point to having

Re: [Qemu-devel] Make test

2017-08-25 Thread Peter Maydell
On 25 August 2017 at 06:49, Thomas Huth wrote: > On 25.08.2017 00:16, Cleber Rosa wrote: >> >> On 08/24/2017 05:50 PM, Programmingkid wrote: >>> >>> Thank you for the patches. I will test them. I was wondering what is the >>> point to having both 'make check' and 'make test'. It looks like everyo

Re: [Qemu-devel] Make test

2017-08-24 Thread Thomas Huth
On 25.08.2017 00:16, Cleber Rosa wrote: > > On 08/24/2017 05:50 PM, Programmingkid wrote: >> >> Thank you for the patches. I will test them. I was wondering what is the >> point to having both 'make check' and 'make test'. It looks like everyone is >> using 'make check'. Maybe we are better off

Re: [Qemu-devel] Make test

2017-08-24 Thread Programmingkid
> On Aug 24, 2017, at 6:21 PM, Cleber Rosa wrote: > > > > On 08/24/2017 06:18 PM, Programmingkid wrote: >> After applying the patches I saw this error: >> >> $ make test >> make -C tests/tcg test >> CC test_path.o >> LINKtest_path >> ./test_path >> cc -m32 -nostdlib -Wall -O2 -g -f

Re: [Qemu-devel] Make test

2017-08-24 Thread Cleber Rosa
On 08/24/2017 06:18 PM, Programmingkid wrote: > After applying the patches I saw this error: > > $ make test > make -C tests/tcg test > CC test_path.o > LINKtest_path > ./test_path > cc -m32 -nostdlib -Wall -O2 -g -fno-strict-aliasing -static -o hello-i386 > hello-i386.c > hello-i

Re: [Qemu-devel] Make test

2017-08-24 Thread Programmingkid
> On Aug 24, 2017, at 4:41 PM, Cleber Rosa wrote: > > > > On 08/24/2017 03:10 PM, Programmingkid wrote: >> I think 'make test' is an abandoned testing option for QEMU so this report >> might be unimportant. Here is my results for running 'make test': >> >> $ make test >> make -C tests/tcg te

Re: [Qemu-devel] Make test

2017-08-24 Thread Cleber Rosa
On 08/24/2017 05:50 PM, Programmingkid wrote: > > Thank you for the patches. I will test them. I was wondering what is the > point to having both 'make check' and 'make test'. It looks like everyone is > using 'make check'. Maybe we are better off removing the 'make test' target. > I think t

Re: [Qemu-devel] Make test

2017-08-24 Thread Programmingkid
> On Aug 24, 2017, at 4:41 PM, Cleber Rosa wrote: > > > > On 08/24/2017 03:10 PM, Programmingkid wrote: >> I think 'make test' is an abandoned testing option for QEMU so this report >> might be unimportant. Here is my results for running 'make test': >> >> $ make test >> make -C tests/tcg te

Re: [Qemu-devel] Make test

2017-08-24 Thread Cleber Rosa
On 08/24/2017 03:10 PM, Programmingkid wrote: > I think 'make test' is an abandoned testing option for QEMU so this report > might be unimportant. Here is my results for running 'make test': > > $ make test > make -C tests/tcg test > LINKtest_path > Undefined symbols for architecture x86_

[Qemu-devel] Make test

2017-08-24 Thread Programmingkid
I think 'make test' is an abandoned testing option for QEMU so this report might be unimportant. Here is my results for running 'make test': $ make test make -C tests/tcg test LINKtest_path Undefined symbols for architecture x86_64: "_buffer_is_zero", referenced from: _qemu_iovec_is

Re: [Qemu-devel] make test fails on Mac OS X

2015-04-11 Thread Peter Maydell
On 11 April 2015 at 21:25, Andreas Färber wrote: > Similar in spirit to some of those tests, I had been thinking about > testing linux-user by running host binaries, comparing native and > emulated output. make check only covers the softmmus today. Yeah. I run the linux-user-test binaries from ht

Re: [Qemu-devel] make test fails on Mac OS X

2015-04-11 Thread Andreas Färber
Am 11.04.2015 um 17:52 schrieb Peter Maydell: > On 11 April 2015 at 16:46, Andreas Färber wrote: >> On Mac OS X, executing qemu-i386 (as opposed to qemu-system-i386) won't >> work though, as darwin-user is no longer available. >> >> Also, the Makefile seems to assume that it's running on x86. > >

Re: [Qemu-devel] make test fails on Mac OS X

2015-04-11 Thread Peter Maydell
On 11 April 2015 at 16:46, Andreas Färber wrote: > On Mac OS X, executing qemu-i386 (as opposed to qemu-system-i386) won't > work though, as darwin-user is no longer available. > > Also, the Makefile seems to assume that it's running on x86. Yes, it has all sorts of problems. We should probably s

Re: [Qemu-devel] make test fails on Mac OS X

2015-04-11 Thread Andreas Färber
Am 10.04.2015 um 19:56 schrieb Programmingkid: > The 'make test' command fails to build on Mac OS X. This is because of a > missing header file. Here is the error: > > include/glib-compat.h:19:18: fatal error: glib.h: No such file or directory > #include On Linux, this gets me past that point,

Re: [Qemu-devel] make test fails on Mac OS X

2015-04-10 Thread Peter Maydell
On 10 April 2015 at 18:56, Programmingkid wrote: > The 'make test' command fails to build on Mac OS X. This is because of a > missing header file. Here is the error: > > include/glib-compat.h:19:18: fatal error: glib.h: No such file or directory > #include "make test" builds a bunch of unmaint