From: Paolo Bonzini Date: Thu, 21 Oct 2010 08:18:39 +0000 (+0200) Subject: fix test_path X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~7040 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=48118b020558bb4cde05894d9d8322a20cbb2f8d;p=sdk%2Femulator%2Fqemu.git fix test_path path.c grew quite a few new dependencies (mostly via cutils.c), include them. Signed-off-by: Paolo Bonzini Signed-off-by: Blue Swirl --- diff --git a/tests/Makefile b/tests/Makefile index e26b2d7..ef575a4 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -3,7 +3,7 @@ $(call set-vpath, $(SRC_PATH)/tests) -CFLAGS=-Wall -O2 -g -fno-strict-aliasing +CFLAGS=-Wall -O2 -g -fno-strict-aliasing -I.. #CFLAGS+=-msse2 LDFLAGS= diff --git a/tests/test_path.c b/tests/test_path.c index def7441..234ed97 100644 --- a/tests/test_path.c +++ b/tests/test_path.c @@ -1,12 +1,21 @@ /* Test path override code */ -#define _GNU_SOURCE +#include "../config-host.h" +#include "../qemu-malloc.c" +#include "../cutils.c" #include "../path.c" +#include "../trace.c" +#ifdef CONFIG_SIMPLE_TRACE +#include "../simpletrace.c" +#endif + #include #include #include +void qemu_log(const char *fmt, ...); + /* Any log message kills the test. */ -void gemu_log(const char *fmt, ...) +void qemu_log(const char *fmt, ...) { va_list ap;