On Sun, Mar 7, 2010 at 11:50 PM, Gabe Black <[email protected]> wrote:
>
>> (Practically speaking, do we
>> support anything other than linux on any other ISA?)
>>
>
> Only supporting Linux doesn't mean the OS never changes. It would be
> nice to be able to test both 32 and 64 bits of Linux in both FS and SE,
> or even different configurations of each. This is especially true in x86
> where the ISA actually changes significantly, as does the the ABI in SE
> mode. As we've found in the past with x86 (unless I'm confused again)
> testing 64 bit binaries didn't mean 32 bit support wasn't rotting out.
OK, that's a good thing to keep in mind. I don't think it changes my
opinion that it's overkill to make the OS a first-class parameter in
the testing scheme.
> I think generally we want to make sure we keep things flexible, but at
> the same time we don't want it to turn into mush where it gets
> cumbersome to do common things. I don't know the best way to actually do
> that though.
That sounds like a pretty generic summary of software interface design :-).
> This is more wishful thinking than anything else, but wouldn't it be
> nice if our regression tests also included tests that exercised some
> feature or component more comprehensively and specifically? Sure,
> booting Linux is very important and touches a lot, but it doesn't touch
> everything and it takes a while to do it. I still can't do anything like
> this because of conflict of interest, but it would be nice to have.
I'll second this, but my impression is that that's an issue of just
putting in the effort to construct those tests, rather than any
structural problems with the test framework. Am I wrong?
> -If-
> that ever came to be, groups would be nice because they could define a
> set of tests to run to test a certain piece of functionality. I also
> think you're onto something, Steve, where you define "groups"
> dynamically as a collection of traits rather than an otherwise arbitrary
> grouping of tests. The hard part is picking the set of traits to keep
> track of and actually measuring them.
Maybe instead of (or in addition to) the numeric tags I proposed, each
test could also have an optional tuple of strings, e.g., ('quick',
'mem'), and then when you run tests you could supply a string and it
would run all the applicable tests with that tag. Sort of like hg
qselect. Of course you'd still want 'all' to run everything (so the
more specific tags are optional).
Steve
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev