gas-test target

Dave Brolley brolley@redhat.com
Wed Nov 1 08:24:00 GMT 2000


Ben Elliston wrote:
> 
> Hi Dave,
> 
>    > I wanted to first inspect the result, then run it by hand.
>    > I'd mull this over for awhile before checking it in.
> 
>    At the very least we need to be able to run it after hand tweaking it.
>    This is the way I add scenarios to the test, since tweaking both the
>    allinsn.s and allinsn.d files (especially the second) can be a major
>    hassle. So all I ask is that we end up with a separate target to run
>    it without regenerating it.
> 
> I agree; it would be very convenient to be able to do this quickly.
> Do you think a `gas-dump' target in the cgen Makefile would suffice?
> 
> Ben

How about gas-create-test and gas-gen-test? gas-dump doesn't seem
to convey the right meaning for me.

I thought about this a little more and it seems to me that the
generated script should be part of the source tree and checked
into the repository, since the best way to update the testsuite
is to edit it and run it again. Currently, I keep a copy of the
script stashed away in case I need to update the testsuite.

What does everyone think?

Dave


More information about the Cgen mailing list