Revision 48118b02

b/tests/Makefile
3 3

  
4 4
$(call set-vpath, $(SRC_PATH)/tests)
5 5

  
6
CFLAGS=-Wall -O2 -g -fno-strict-aliasing
6
CFLAGS=-Wall -O2 -g -fno-strict-aliasing -I..
7 7
#CFLAGS+=-msse2
8 8
LDFLAGS=
9 9

  
b/tests/test_path.c
1 1
/* Test path override code */
2
#define _GNU_SOURCE
2
#include "../config-host.h"
3
#include "../qemu-malloc.c"
4
#include "../cutils.c"
3 5
#include "../path.c"
6
#include "../trace.c"
7
#ifdef CONFIG_SIMPLE_TRACE
8
#include "../simpletrace.c"
9
#endif
10

  
4 11
#include <stdarg.h>
5 12
#include <sys/stat.h>
6 13
#include <fcntl.h>
7 14

  
15
void qemu_log(const char *fmt, ...);
16

  
8 17
/* Any log message kills the test. */
9
void gemu_log(const char *fmt, ...)
18
void qemu_log(const char *fmt, ...)
10 19
{
11 20
    va_list ap;
12 21

  

Also available in: Unified diff