As I reckon, it must. But looking at dejagnu/baseboards I don't recognize anything remotely similar to calling an emulator executable with parameters that look like comms options.
All them just set a few very general variables that don't quite tell you how they exactly apply to the qemu case, and call one or two general tcl/expect procedures that don't tell you much either. I guess I need to know what files I need to create and what examples show a similar case as to using qemu, or perhaps some directions to the documentation sections that explain what you can do with those files and the required things you should put in them. When just running "make -k check RUNTESTFLAGS=--target_board=arm-sim" it just complains about a global config file missing, and that's it, it seems to hang waiting for something to answer it forever: ... WARNING: Couldn't find the global config file. ... Running /home/davidfc/rpmbuild/BUILD/gcc-4.7.0/gcc/testsuite/gcc.c-torture/compile/compile.exp ... I'm just expecting that somebody had to do something quite similar to what I'm trying to do. Cheers On 14/06/12 22:32, Joel Sherrill wrote: > We use qemu with a wrapper script to test gcc for i386-rtems and m68k-rtems. > It is possible and just a matter of having a boards file AFAIK. > > --joel > > David Fernandez <david.fernandez.w...@googlemail.com> wrote: > >> Hi there, >> >> I'm wondering if it is possible to use qemu as an arm-sim when running >> gcc or gdb testsuites form an arm-eabi cross-compiler. >> >> I've found some examples on running a bare metal program with: >> >> qemu-system-arm -cpu cortex-m3 -nographic -monitor null -serial null >> -semihosting -kernel <myprogram> >> >> The problem is that I know nothing about dejagnu, and I wonder what is >> the easiest way to make everything work together, as the dejagnu >> documentation is a bit dense. >> >> Could any of you give me a quick recipe? >> >> Do I need to compile a linux arm kernel to use qemu as a remote >> simulator for testing? Could it be run using semihosting like the >> example above? >> >> Cheers >> David Fernandez >> >> _______________________________________________ >> DejaGnu mailing list >> DejaGnu@gnu.org >> https://lists.gnu.org/mailman/listinfo/dejagnu _______________________________________________ DejaGnu mailing list DejaGnu@gnu.org https://lists.gnu.org/mailman/listinfo/dejagnu