mirror of https://gitee.com/openkylin/qemu.git
ad0a118fa3
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> |
||
---|---|---|
.. | ||
alpha | ||
cris | ||
lm32 | ||
mips | ||
openrisc | ||
xtensa | ||
Makefile | ||
hello-arm.c | ||
hello-i386.c | ||
hello-mips.c | ||
linux-test.c | ||
pi_10.com | ||
runcom.c | ||
sha1.c | ||
test-arm-iwmmxt.s | ||
test-i386-code16.S | ||
test-i386-fprem.c | ||
test-i386-muldiv.h | ||
test-i386-shift.h | ||
test-i386-ssse3.c | ||
test-i386-vm86.S | ||
test-i386.c | ||
test-i386.h | ||
test-mmap.c | ||
test_path.c | ||
testthread.c |