mirror of
https://git.proxmox.com/git/qemu
synced 2025-08-08 13:07:01 +00:00
fix test_path
path.c grew quite a few new dependencies (mostly via cutils.c), include them. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
e311248b64
commit
48118b0205
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
$(call set-vpath, $(SRC_PATH)/tests)
|
$(call set-vpath, $(SRC_PATH)/tests)
|
||||||
|
|
||||||
CFLAGS=-Wall -O2 -g -fno-strict-aliasing
|
CFLAGS=-Wall -O2 -g -fno-strict-aliasing -I..
|
||||||
#CFLAGS+=-msse2
|
#CFLAGS+=-msse2
|
||||||
LDFLAGS=
|
LDFLAGS=
|
||||||
|
|
||||||
|
@ -1,12 +1,21 @@
|
|||||||
/* Test path override code */
|
/* Test path override code */
|
||||||
#define _GNU_SOURCE
|
#include "../config-host.h"
|
||||||
|
#include "../qemu-malloc.c"
|
||||||
|
#include "../cutils.c"
|
||||||
#include "../path.c"
|
#include "../path.c"
|
||||||
|
#include "../trace.c"
|
||||||
|
#ifdef CONFIG_SIMPLE_TRACE
|
||||||
|
#include "../simpletrace.c"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|
||||||
|
void qemu_log(const char *fmt, ...);
|
||||||
|
|
||||||
/* Any log message kills the test. */
|
/* Any log message kills the test. */
|
||||||
void gemu_log(const char *fmt, ...)
|
void qemu_log(const char *fmt, ...)
|
||||||
{
|
{
|
||||||
va_list ap;
|
va_list ap;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user