rewrite i386 tests Makefile
1) compute path to i386 compiler from configure. If it is found, runthe i386 tests. I use macros so that this approach could be appliedfor other arches as well.
2) provide an easily extensible way to add tests
Most tests fail, but at least "make test" does something meaningful....
fix test_path
path.c grew quite a few new dependencies (mostly via cutils.c),include them.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
make runcom compile on recent distributions
disable test_enter on i386, it is broken
Many other tests fail, but this has an infinite loop with bothqemu-i386 and native execution (albeit on x86_64), so there issomething more going on. I'm not going to debug it now, so justdisable the test.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>...
unbreak "make" from vpath-built tests directory
unbreak "make" from tests directory
mips_fulong2e: fix ram allocation
RAM registration used incorrect offset.
Fix by using the offset obtained previously for this purpose.
Spotted by GCC 4.6.0 20100925 warning, which is also avoided.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Replace remaining gcc format attributes by macro GCC_FMT_ATTR (format checking)
Replace the remaining format attribute printf by macroGCC_FMT_ATTR which uses gnu_printf (if supported).
Remove special handling of system include files (no longer needed)
The formerly used dyngen code did not work withsystem include files like stdio.h.
Tests with Linux, OSX and Win32 show that thisrestriction is no longer needed.
So we hopefully can remove that special piece of code....
Merge remote branch 'qemu-kvm/uq/master' into staging
View all revisions | View revisions
Also available in: Atom