aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/test_path.c
diff options
context:
space:
mode:
authorCatalin Patulea <catalinp@google.com>2012-10-16 16:00:23 -0400
committerAurelien Jarno <aurelien@aurel32.net>2012-10-19 20:40:21 +0200
commitf62cb1b6ddc2c82694abac23ab5eeddd85800074 (patch)
treeb4cb4a6c960772e95394bd030ca4e8ecb2cf7da0 /tests/tcg/test_path.c
parent7748b8cb1d100105753a80976d2d02ab107d8107 (diff)
tests/tcg: fix build
This broke when the tests were moved from tests/ to tests/tcg/. On x86_64 host/i386-linux-user non-kvm guest, test-i386 and test-mmap are broken, but at least they build. To build/run the tests: $ cd $BUILD_PATH/tests/tcg $ SRC_PATH=path/to/qemu make <target> Signed-off-by: Catalin Patulea <catalinp@google.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'tests/tcg/test_path.c')
-rw-r--r--tests/tcg/test_path.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/tests/tcg/test_path.c b/tests/tcg/test_path.c
index 7265a9445d..a064eea8fb 100644
--- a/tests/tcg/test_path.c
+++ b/tests/tcg/test_path.c
@@ -1,11 +1,12 @@
/* Test path override code */
-#include "../config-host.h"
-#include "../qemu-malloc.c"
-#include "../cutils.c"
-#include "../path.c"
-#include "../trace.c"
+#define _GNU_SOURCE
+#include "config-host.h"
+#include "iov.c"
+#include "cutils.c"
+#include "path.c"
+#include "trace.c"
#ifdef CONFIG_TRACE_SIMPLE
-#include "../simpletrace.c"
+#include "../trace/simple.c"
#endif
#include <stdarg.h>