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 you look in tests/configs, though, several of the test scripts do include files from "../configs", so there might be a way to get it to work indirectly. Steve On Fri, Jun 26, 2015 at 12:54 PM Jason Power <power...@gmail.com> wrote: > 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_gem5/part1/two_level.py > > Or, without needing my script, another example would be to test something > like this: > build/X86/gem5.opt configs/example/se.py -c > tests/test-progs/hello/bin/x86/linux/hello > > Is there any way to do this with our current regression tester? From what I > can tell, there isn't any way to run a script in configs/. > > Also, does anyone have a pointer to documentation on the regression tester > other than this page on the wiki (http://gem5.org/Regression_Tests)? It's > pretty out-of-date. > > As a meta point, I'm working on committing the scripts that are used part 1 > of the Learning gem5 document I'm working on. I would like to commit a > regression at the same time that ensures these scripts will be tested > during future commits. > > Thanks, > Jason > _______________________________________________ > gem5-dev mailing list > gem5-dev@gem5.org > http://m5sim.org/mailman/listinfo/gem5-dev > _______________________________________________ gem5-dev mailing list gem5-dev@gem5.org http://m5sim.org/mailman/listinfo/gem5-dev