gas-test target
Doug Evans
dje@transmeta.com
Wed Nov 1 09:02:00 GMT 2000
Dave Brolley writes:
> 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?
The first thing that comes to mind is that we want to have less
generated code checked in than we do now. To a first approximation
this is heading in the wrong direction, though maybe there are
compelling reasons to treat this differently.
More information about the Cgen
mailing list