On Thu, Mar 07, 2013 at 02:41:26AM -0500, Paolo Bonzini wrote:
>
> > From Makefile.target, qtest is built when you build softmmu target.
> > I guess there is no need to add "--enable-qtest" option. However, I
> > don't know how to run qtest...
>
> make check-qtest-arm
O.K., let me try to summarize the working flow..
$ ../configure --target-list=i386-softmmu
$ make; make install
$ make check-qtest-i386
$ cd tests
$ export QTEST_QEMU_BINARY=/path/to/qemu-system-i386
$ ./rtc-test
/i386/rtc/check-time/bcd: OK
/i386/rtc/check-time/dec: OK
/i386/rtc/alarm/interrupt: OK
...
Developers should add their test into ${QEMU_SRC}/tests . Am I right?
Regards,
chenwj
--
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
Homepage: http://people.cs.nctu.edu.tw/~chenwj