]> git.proxmox.com Git - qemu.git/blobdiff - tests/test_path.c
configure: Copy test data to build directory
[qemu.git] / tests / test_path.c
index a9b52de3782519d7e42082f8ab01e513ccf43998..234ed97088d308eaa947cc970a10f0a33eef07a5 100644 (file)
@@ -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 <stdarg.h>
 #include <sys/stat.h>
 #include <fcntl.h>
 
+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;
 
@@ -149,4 +158,3 @@ int main(int argc, char *argv[])
     }
     return 0;
 }
-