I have some non backwards compatible changes I'd like to push one of
these days for the m5 binary and the m5ops.  We also haven't released
a new disk image in quite a long time.  Perhaps we should try to do
these three things at once to make our lives easier.  I could even try
to finish the test system changes before we do so.

Would anyone else help do these things?  It would be nice to just do
them all at once (probably on a branch) since then we could avoid some
compatibility/stability issues.

  Nate

On Sun, Feb 28, 2010 at 10:05 PM, Steve Reinhardt <[email protected]> wrote:
> I sympathize... I've long thought that (1) our configuration scripts
> are a big mess, and should be redone to be modular components that
> people can reuse rather than "examples" that people just hack on
> willy-nilly to make them do what they want and (2) that the
> regressions should rely more on the configuration scripts so that the
> scripts get tested and so that we don't have redundant config code in
> the test directory.
>
> Steve
>
> On Sat, Feb 27, 2010 at 7:03 PM, Gabe Black <[email protected]> wrote:
>> My first reaction to this was "TEST YOUR CHANGES"
>>
>> My second reaction was that this probably was tested using the
>> regressions without realizing they don't actually use fs.py, so it's
>> forgivable.
>>
>> My third reaction was that since se.py, fs.py, etc. are non-trivial
>> pieces of code that are used verbatim probably more than they're used as
>> examples, so it would be a good idea to actually test them.
>>
>> My fourth reaction was that these scripts seem overly complicated to me,
>> and that probably makes mistakes like this a lot easier to make than is
>> really necessary.
>>
>> Gabe
>>
>> Gabe Black wrote:
>>> changeset f2b4d8bea5d3 in /z/repo/m5
>>> details: http://repo.m5sim.org/m5?cmd=changeset;node=f2b4d8bea5d3
>>> description:
>>>       Config: Fix fs.py's call to CacheConfig.config_cache.
>>>
>>> diffstat:
>>>
>>> 1 file changed, 2 insertions(+), 2 deletions(-)
>>> configs/example/fs.py |    4 ++--
>>>
>>> diffs (15 lines):
>>>
>>> diff -r c6951099a1cb -r f2b4d8bea5d3 configs/example/fs.py
>>> --- a/configs/example/fs.py   Fri Feb 26 18:14:48 2010 -0800
>>> +++ b/configs/example/fs.py   Sat Feb 27 18:52:57 2010 -0800
>>> @@ -121,9 +121,9 @@
>>>  if options.script is not None:
>>>      test_sys.readfile = options.script
>>>
>>> -CacheConfig.config_cache(options, system)
>>> +test_sys.cpu = [TestCPUClass(cpu_id=i) for i in xrange(np)]
>>>
>>> -test_sys.cpu = [TestCPUClass(cpu_id=i) for i in xrange(np)]
>>> +CacheConfig.config_cache(options, test_sys)
>>>
>>>  if options.caches or options.l2cache:
>>>      test_sys.bridge.filter_ranges_a=[AddrRange(0, Addr.max)]
>>> _______________________________________________
>>> m5-dev mailing list
>>> [email protected]
>>> http://m5sim.org/mailman/listinfo/m5-dev
>>>
>>
>> _______________________________________________
>> m5-dev mailing list
>> [email protected]
>> http://m5sim.org/mailman/listinfo/m5-dev
>>
> _______________________________________________
> m5-dev mailing list
> [email protected]
> http://m5sim.org/mailman/listinfo/m5-dev
>
>
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to