qemu/tests/tcg
Peter Maydell ad0a118fa3 tests/tcg: Fix compilation of test_path
The test_path binary is (unlike the other test binaries in tests/tcg)
actually intended to be compiled with the same compiler used to build
the main QEMU executables. It actually #includes a number of the
QEMU source files in an attempt to unit-test the util/path.c functions,
and so if it is not compiled with the same compiler used by configure
to set CONFIG_ settings then it is liable to fail to build.
Fix the makefile to build it with the default C compiler rules, not
CC_I386, and fix the test itself not to include a lot of unnecessary
trace related source files which cause the build to fail if the trace
backend is anything other than 'simple'.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2014-05-07 21:00:43 +04:00
..
alpha
cris janitor: add guards to headers 2012-12-19 08:31:31 +01:00
lm32 tests: lm32: new rule for single test cases 2014-02-04 19:34:29 +01:00
mips target-mips: correct the values in the DSP tests 2013-07-30 17:48:24 +02:00
openrisc target-openrisc: Correct carry flag check of l.addc and l.addic test cases 2013-11-20 21:47:46 +08:00
xtensa target-xtensa: add basic tests for cache opcodes 2014-02-24 04:47:02 +04:00
Makefile tests/tcg: Fix compilation of test_path 2014-05-07 21:00:43 +04:00
hello-arm.c
hello-i386.c tests/tcg: fix a few warnings 2012-10-27 14:37:25 +00:00
hello-mips.c
linux-test.c remove some double-includes 2013-05-18 16:35:12 +04:00
pi_10.com
runcom.c
sha1.c
test-arm-iwmmxt.s
test-i386-code16.S
test-i386-fprem.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
test-i386-muldiv.h
test-i386-shift.h
test-i386-ssse3.c
test-i386-vm86.S
test-i386.c test-i386: make it compile with a recent gcc 2013-02-18 15:03:55 -08:00
test-i386.h
test-mmap.c tests/tcg: fix unused result warnings 2012-10-30 18:55:02 +00:00
test_path.c tests/tcg: Fix compilation of test_path 2014-05-07 21:00:43 +04:00
testthread.c tests/tcg: fix unused result warnings 2012-10-30 18:55:02 +00:00