On 08/18/11 02:40, Gabe Black wrote: > I was just thinking about portage, Gentoo's build system, and how it > uses keywords to describe what architectures different packages are > compatible with. Basically you supply a list of tokens that correspond > to architectures, and if a package doesn't have the keyword for the > architecture you're trying to install it on, it won't go. We've got some > regression tests (hello world, for instance) which run on pretty much > everything, but then we've got some other ones that will either by > design only work on one architecture (sparc's instruction test) or ones > that nobody has gotten to work on a particular ISA yet. It may not > actually be useful in any way, but there seems to be some parallels > there. Just a thought (or at least half of one). > > Gabe > _______________________________________________ > gem5-dev mailing list > [email protected] > http://m5sim.org/mailman/listinfo/gem5-dev
Or maybe it could be to categorize tests. If you wanted to test, say, O3, you could mark all the tests that do something relative to O3 with the O3 keyword. If you wanted to test x86, then x86. If you wanted to test x86 *on* O3, then you'd do both. I suppose you'd need a way to say you want x86 *and* O3, or x86 *or* O3. I think maybe a smarter front end (scons avoids rerunning things, but that's about it) would go a long way no matter how it helped you pick tests. Also more granular, focused tests would help, but that's nothing new. Gabe _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
