From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60496) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UszJb-00043r-Ko for qemu-devel@nongnu.org; Sat, 29 Jun 2013 13:52:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UszJa-0000NP-K2 for qemu-devel@nongnu.org; Sat, 29 Jun 2013 13:52:03 -0400 Received: from mail.avalus.com ([2001:41c8:10:1dd::10]:45232) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UszJa-0000N0-F8 for qemu-devel@nongnu.org; Sat, 29 Jun 2013 13:52:02 -0400 Date: Sat, 29 Jun 2013 18:51:49 +0100 From: Alex Bligh Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: [Qemu-devel] How does 'make test' work? Reply-To: Alex Bligh List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Alex Bligh How is one meant to make the tests? make test fails with: make[1]: Entering directory `/home/amb/qemu/git/qemu/tests/tcg' cc -m32 -I/home/amb/qemu/git/qemu/tcg -I/home/amb/qemu/git/qemu/tcg/i386=20 -I/home/amb/qemu/git/qemu/linux-headers=20 -I/home/amb/qemu/git/qemu/linux-headers -I. -I/home/amb/qemu/git/qemu=20 -I/home/amb/qemu/git/qemu/include -I. -I. -I../.. -pthread=20 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -O2=20 -g -c -o test_path.o test_path.c test_path.c:4:17: fatal error: iov.c: No such file or directory If I fudge the include path it still doesn't work (see below). I get the feeling I must have missed something. Alex amb@nimrod-ubuntu:~/qemu/git/qemu$ make test CFLAGS=3D'-O2 -g=20 -I/home/amb/qemu/git/qemu/util' CHK version_gen.h make -C tests/tcg test make[1]: Entering directory `/home/amb/qemu/git/qemu/tests/tcg' cc -m32 -I/home/amb/qemu/git/qemu/tcg -I/home/amb/qemu/git/qemu/tcg/i386=20 -I/home/amb/qemu/git/qemu/linux-headers=20 -I/home/amb/qemu/git/qemu/linux-headers -I. -I/home/amb/qemu/git/qemu=20 -I/home/amb/qemu/git/qemu/include -I. -I. -I../.. -pthread=20 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -O2=20 -g -I/home/amb/qemu/git/qemu/util -c -o test_path.o test_path.c In file included from /home/amb/qemu/git/qemu/util/cutils.c:25:0, from test_path.c:5: /home/amb/qemu/git/qemu/include/qemu/host-utils.h: In function = =E2=80=98mulu64=E2=80=99: /home/amb/qemu/git/qemu/include/qemu/host-utils.h:35:5: error: unknown type = name =E2=80=98__uint128_t=E2=80=99 /home/amb/qemu/git/qemu/include/qemu/host-utils.h:35:22: error:=20 =E2=80=98__uint128_t=E2=80=99 undeclared (first use in this function) /home/amb/qemu/git/qemu/include/qemu/host-utils.h:35:22: note: each=20 undeclared identifier is reported only once for each function it appears in /home/amb/qemu/git/qemu/include/qemu/host-utils.h:35:34: error: expected=20 =E2=80=98,=E2=80=99 or =E2=80=98;=E2=80=99 before =E2=80=98a=E2=80=99 /home/amb/qemu/git/qemu/include/qemu/host-utils.h:37:5: warning: right=20 shift count >=3D width of type [enabled by default] /home/amb/qemu/git/qemu/include/qemu/host-utils.h: In function = =E2=80=98muls64=E2=80=99: /home/amb/qemu/git/qemu/include/qemu/host-utils.h:43:5: error: unknown type = name =E2=80=98__int128_t=E2=80=99 /home/amb/qemu/git/qemu/include/qemu/host-utils.h:43:21: error:=20 =E2=80=98__int128_t=E2=80=99 undeclared (first use in this function) /home/amb/qemu/git/qemu/include/qemu/host-utils.h:43:32: error: expected=20 =E2=80=98,=E2=80=99 or =E2=80=98;=E2=80=99 before =E2=80=98a=E2=80=99 /home/amb/qemu/git/qemu/include/qemu/host-utils.h:45:5: warning: right=20 shift count >=3D width of type [enabled by default] test_path.c: At top level: test_path.c:7:19: fatal error: trace.c: No such file or directory compilation terminated. make[1]: *** [test_path.o] Error 1 make[1]: Leaving directory `/home/amb/qemu/git/qemu/tests/tcg' make: *** [test] Error 2 --=20 Alex Bligh