Re: [gem5-dev] Help with adding a simple regression test

2015-07-03 Thread Steve Reinhardt
Looks good, thanks! Happy 4th to you too! On Fri, Jul 3, 2015 at 9:50 AM Jason Power wrote: > Thanks for fixing my typos, Steve! I moved some of the info into the first > section like you asked. I agree that it works better there. The page isn't > perfect, but at least next time *I* go to add s

Re: [gem5-dev] Help with adding a simple regression test

2015-07-03 Thread Jason Power
Thanks for fixing my typos, Steve! I moved some of the info into the first section like you asked. I agree that it works better there. The page isn't perfect, but at least next time *I* go to add something to the regression tester I'll know how :). Hopefully it will help others too. Happy 4th! Jas

Re: [gem5-dev] Help with adding a simple regression test

2015-07-02 Thread Steve Reinhardt
Thanks, Jason! This looks like a valuable addition. My main comment is that the first two steps you have in your new "execution description" section basically overlap what's already there in the "running regressions" section. I'd prefer to see you expand the "running regressions" section with ad

Re: [gem5-dev] Help with adding a simple regression test

2015-07-02 Thread Jason Power
Thanks, Andreas. This was exactly what I was missing. I've updated the wiki page on regressions with everything that I learned. If someone that knows more about the regression tester could check it out and make sure I didn't miss anything and I'm not getting anything wrong, that would be great. ht

Re: [gem5-dev] Help with adding a simple regression test

2015-06-26 Thread Andreas Hansson
Hi Jason, Have a look at tests/SConscript. At the end there is a list of configs created, and then a call to glob to actually find the regression targets. You need to add your new test here as well. I usually end up removing the build/ARM/tests directory to force a re-run. If the binary is up to

Re: [gem5-dev] Help with adding a simple regression test

2015-06-26 Thread Jason Power
Ok, thanks for confirming that it's not possible :). Now, I'm trying to add a new script to tests/configs, but I'm having trouble getting scons to recognize it. Here's what I've done. 1) created a directory tests/quick/se/00.hello/ref/x86/linux/learning_gem5 2) added blank config.ini simerr* si

Re: [gem5-dev] Help with adding a simple regression test

2015-06-26 Thread Steve Reinhardt
Unfortunately one of the biggest limitations of the current regression tester is that it uses separate config files, which makes it harder than it should be to take a "normal" execution and turn it into a regression test, and also makes it impossible to test config scripts themselves directly. If

[gem5-dev] Help with adding a simple regression test

2015-06-26 Thread Jason Power
Hi all, I'm trying to do something that I thought would be very simple, but I can't figure out how to do it. What I would like to do is add a regression step that runs a simple script in configs/. I would like to run the following test as a regression test: build/X86/gem5.opt configs/learning_gem