This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
Re: a problem about simulator test
- From: Ben Elliston <bje at redhat dot com>
- To: "gongyq" <gongyq at vlsi dot zju dot edu dot cn>
- Cc: cgen at sources dot redhat dot com
- Date: Tue, 3 Sep 2002 10:55:53 -0400 (EDT)
- Subject: Re: a problem about simulator test
- References: <009c01c24fff$464c8570$7f6f0e0a@gongyq>
Hi.
Sorry, I can't quote your message in my reply due to my mailer and
your character set ;-). Your question was about the inability to run
`make check' in the sim directory. You need to make a few changes to
the `sim' configure script to make the sim/configure script create a
`testsuite' directory and run dejagnu. Here's an example:
1999-07-16 Ben Elliston <bje@cygnus.com>
* configure.in: Configure the testsuite directory for arm.
* configure: Regenerate.
- arm*-*-*) sim_target=arm ;;
+ arm*-*-*)
+ sim_target=arm
+ extra_subdirs="${extra_subdirs} testsuite"
+ ;;
Then, any *.exp files in the testsuite/sim/arm/ directory will be run
by DejaGnu. Hope this helps,
Ben