Skip to content

Commit

Permalink
tests: Fix 'make test' for i686 hosts (build regression)
Browse files Browse the repository at this point in the history
'make test' is broken at least since commit
baacf04. Several source files were moved
to util/, and some of them there split, so add the missing prefix and new
files to fix the compiler and linker errors.

There remain more issues, but these changes allow running the test on a
Linux i686 host.

Cc: [email protected]
Signed-off-by: Stefan Weil <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>
  • Loading branch information
stweil authored and Michael Tokarev committed Mar 15, 2014
1 parent 3b163b0 commit 6d4adef
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions tests/tcg/test_path.c
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
/* Test path override code */
#define _GNU_SOURCE
#include "config-host.h"
#include "iov.c"
#include "cutils.c"
#include "path.c"
#include "trace.c"
#include "util/cutils.c"
#include "util/hexdump.c"
#include "util/iov.c"
#include "util/path.c"
#include "util/qemu-timer-common.c"
#include "trace/control.c"
#include "../trace/generated-events.c"
#ifdef CONFIG_TRACE_SIMPLE
#include "../trace/simple.c"
#include "trace/simple.c"
#endif

#include <stdarg.h>
Expand Down

0 comments on commit 6d4adef

Please sign in to comment.