History log of /gem5/util/regress
Revision Date Author Comments
# 13540:da30e62884ee 10-Jan-2019 Andrea Mondelli <andrea.mondelli@ucf.edu>

misc: updated shabang for python script

The default python on MacOS doesn’t have an alias to python2.
The official python version supported in gem5 is Python2.7.

This patch updates the shabang according to the version required in gem5.

Change-Id: I9533c0f7858b5b3cab0ef101be1ee5cd718105b0
Reviewed-on: https://gem5-review.googlesource.com/c/15375
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>


# 11828:36b064696175 10-Feb-2017 Jason Lowe-Power <jason@lowepower.com>

misc: Update #!env calls for python to explicit version

In some newer Linux distributions, env python default to Python 3.0. This
patch explicitly uses "python2" instead of just "python" for all scripts
that use #!

Reported-by: Sanchayan Maity <maitysanchayan@gmail.com>
Signed-off-by: Jason Lowe-Power <jason@lowepower.com>


# 11730:08ab68477ea0 30-Nov-2016 Alec Roelke <ar4jc@virginia.edu>

riscv: [Patch 8/5] Added some regression tests to RISC-V

This patch is the eighth patch in a series adding RISC-V to gem5, and
third of the bonus patches to the original series of five. It adds some
regression tests to RISC-V.

Regression tests included:
- se/00.hello
- se/02.insttest (split into several binaries which are not included due
to large size)

The tests added to 00.insttest will need to be build manually; to
facilitate this, a Makefile is included. The required toolchain and
compiler (riscv64-unknown-elf-gcc) can be built from the riscv-tools
GitHub repository at https://github.com/riscv/riscv-tools.

Note that because EBREAK only makes sense when gdb is running or while in
FS mode, it is not included in the linux-rv64i insttest. ERET is not
included because it does not make sense in SE mode and, in fact, causes
a panic by design.

Note also that not every system call is tested in linux-rv64i; of the ones
defined in linux/process.hh, some have been given numbers but not
definitions for the toolchain, or are merely stubs that always return 0. Of
the ones that do work properly, only a subset are tested due to similar
functionality.

Signed-off by: Alec Roelke

Signed-off by: Jason Lowe-Power <jason@lowepower.com>


# 11706:7339a92fffb5 17-Nov-2016 Andreas Hansson <andreas.hansson@arm.com>

tests, ruby: Move rubytests from ALPHA (linux) to NULL (none)

This patch avoids compiling ALPHA six times as part of running
'util/regress', and instead relis on NULL with different protocols to
run the rubytest. All we need is the memory system, so there is really
no need to compile the ISA over and over again.

The one downside is the removal of running 'hello' for the variuos
ALPHA and protocol combinations, but if this is a concern we should
rather beef up the synthetic tests for the variuos protocols.


# 11308:7d8836fd043d 19-Jan-2016 Tony Gutierrez <anthony.gutierrez@amd.com>

gpu-compute: AMD's baseline GPU model


# 10007:94d286db85c1 04-Jan-2014 Nilay Vaish <nilay@cs.wisc.edu>

ruby: rename MESI_CMP_directory to MESI_Two_Level

This is because the next patch introduces a three level hierarchy.


# 9850:87d6b41749e9 04-Sep-2013 Andreas Hansson <andreas.hansson@arm.com>

arch: Resurrect the NOISA build target and rename it NULL

This patch makes it possible to once again build gem5 without any
ISA. The main purpose is to enable work around the interconnect and
memory system without having to build any CPU models or device models.

The regress script is updated to include the NULL ISA target. Currently
no regressions make use of it, but all the testers could (and perhaps
should) transition to it.


# 9843:1ddfb0679c75 21-Aug-2013 Steve Reinhardt <steve.reinhardt@amd.com>

util/regress: set --no-lto on regressions

See comment for motivation.


# 8969:b9f4e3884951 26-Apr-2012 Nilay Vaish <nilay@cs.wisc.edu>

util/regress: Add the missing comma in the list of builds


# 8968:6d11b01e2c53 25-Apr-2012 Nilay Vaish <nilay@cs.wisc.edu>

Regression: Add a test for x86 timing full system ruby simulation


# 8816:c80758736323 07-Feb-2012 Gabe Black <gblack@eecs.umich.edu>

m5=>gem5: Make the regression script build gem5.* instead of m5.*


# 8814:f0fcb53bed25 05-Feb-2012 Gabe Black <gblack@eecs.umich.edu>

Regressions: Fix the regress script when "all" is used.

When the "all" test is specified, the "tests" list should have two elements in
it, "quick" and "long", not a single element "quick,long". The later would be
appropriate as the default for one of the command line options which are split
at commas, but at that point "tests" should already be a list.


# 8811:be4990a2c764 02-Feb-2012 Andreas Hansson <andreas.hansson@arm.com>

Regression: Update the regress script after SE/FS merge

This patch updates the regress script to reflect the merge of the
SE/FS builds and the new structure of the test directories. It adds a
"mode" flag to the script, that defaults to both se and fs.


# 8319:6a49ac49fd67 23-May-2011 Steve Reinhardt <steve.reinhardt@amd.com>

util/regress: make default action a more thorough regression

Changed the --variants option to --test-variants and added a new
--compile-variants option for variants that are only compiled
(not tested). The former still defaults to 'opt' and the latter
defaults to 'debug,fast'.

Also changed the behavior when no tests are specified from just
compiling to running the 'quick' tests.

As a result, a plain 'util/regress' invocation will now compile
(but not test) the debug and fast builds, and compile and run the
quick regressions on the opt build. This should be the default
set of tests that are run before committing. Since the nightly
regressions use this same script, this will also be the new
nightly regression behavior.

Test-only regressions can still be done by setting --compile=''.
Compile-only regressions can be done by setting --test=''.


# 8244:95b2bf400ee4 20-Apr-2011 Steve Reinhardt <steve.reinhardt@amd.com>

Change default regression build from 'fast' to 'opt'


# 8127:e64347d17555 12-Mar-2011 Gabe Black <gblack@eecs.umich.edu>

Regressions: Make X86_FS run automatically.


# 8120:e4257cde2d79 04-Mar-2011 Gabe Black <gblack@eecs.umich.edu>

SCons: Turn some scons variables into command line options.


# 7735:a1a85250e897 08-Nov-2010 Ali Saidi <Ali.Saidi@ARM.com>

ARM: Add full-system regressions


# 7047:04d988a19ae9 23-Mar-2010 Nathan Binkert <nate@binkert.org>

regress: add some new options
add -n/--no-exec which doesn't execute scons, but just prints the command line
add -j0 which tries to calculate how many cpus you have
add -D/--build-dir to specify a build directory other than ./build


# 6928:5bd33f7c26ea 29-Jan-2010 Brad Beckmann <Brad.Beckmann@amd.com>

m5: Regression Tester Update

This patch includes the necessary regression updates to test the new ruby
configuration system. The patch includes support for multiple ruby protocols
and adds the ruby random tester. The patch removes atomic mode test for
ruby since ruby does not support atomic mode acceses. These tests can be
added back in when ruby supports atomic mode for real.


# 6699:b61018e8d169 28-Oct-2009 Nathan Binkert <nate@binkert.org>

regress: add POWER to regressions


# 6256:5e8d93b5d71a 23-Jun-2009 Gabe Black <gblack@eecs.umich.edu>

Regressions: Build ARM_SE regressions by default.


# 5247:fdbfa56f0b09 13-Nov-2007 Steve Reinhardt <stever@gmail.com>

Add -k flag to util/regress.


# 5187:a0ff86ffdefe 26-Oct-2007 Gabe Black <gblack@eecs.umich.edu>

Regressions: Added X86_SE into the default list of builds.


# 4976:eb1067b3060c 13-Aug-2007 Ali Saidi <saidi@eecs.umich.edu>

fixup bad hand merge


# 4975:3fd697e69e06 13-Aug-2007 Ali Saidi <saidi@eecs.umich.edu>

Merge IGNORE_STYLE change and my change.


# 4961:31f1d816dc26 13-Aug-2007 Ali Saidi <saidi@eecs.umich.edu>

Regression: See if using subprocess instead of os.system and erroring immediately will stop regression randomly hanging.


# 4949:302707329b7e 12-Aug-2007 Nathan Binkert <nate@binkert.org>

style: If IGNORE_STYLE=True is set on the scons command line, ignore style.
Use this in the regress script to avoid issues with the checker.


# 4193:1363532bc464 09-Mar-2007 Ali Saidi <saidi@eecs.umich.edu>

fix regress... SPARC_FS may not be in the builds so check for it


# 4169:b03a74834dfe 07-Mar-2007 Ali Saidi <saidi@eecs.umich.edu>

If we're running the quick tests, remove the SPARC_FS build since we don't have any quick SPARC_FS tests at the moment


# 4130:a611c874376e 03-Mar-2007 Ali Saidi <saidi@eecs.umich.edu>

add a sparc fs regression

src/dev/sparc/iob.cc:
don't warn on cpu restart/idle/halt stuff
tests/SConscript:
add sparc target in test Sconscript
util/regress:
Add SPARC_FS target in regress


# 3734:5eb062f81950 12-Dec-2006 Steve Reinhardt <stever@eecs.umich.edu>

If no tests are specified for regression, just build the binaries
(instead of complaining and exiting).


# 3727:7e3511898306 10-Dec-2006 Steve Reinhardt <stever@eecs.umich.edu>

Merge zizzer.eecs.umich.edu:/z/stever/bk/newmem-cache2
into zizzer.eecs.umich.edu:/z/stever/bk/newmem-cache3


# 3725:16980dd7d58f 10-Dec-2006 Steve Reinhardt <stever@eecs.umich.edu>

Add '-j' option directly to regress script (passed to scons).


# 3709:cc18eeefd07e 07-Dec-2006 Steve Reinhardt <stever@eecs.umich.edu>

Change detault regression build from opt to fast.


# 3099:e3f3ff36645b 02-Sep-2006 Steve Reinhardt <stever@eecs.umich.edu>

regress:
Clean up help output.

util/regress:
Clean up help output.


# 3097:6d06427d2248 01-Sep-2006 Steve Reinhardt <stever@eecs.umich.edu>

Get rid of extra stuff in util/regress only needed by cron job,
to make it more usable by regular folks.

util/regress:
Get rid of extra stuff only needed by cron job,
to make it more usable by regular folks.


# 3077:31da34df3139 25-Aug-2006 Steve Reinhardt <stever@eecs.umich.edu>

Update for new regression test structure.


# 1897:d08e4761b554 01-Oct-2005 Steve Reinhardt <stever@eecs.umich.edu>

Commit regression script. The cron job uses a copy in m5test's
home directory (/z/m5/regression), so for now any modifications
should be manually copied there as well.

Note that this script is designed to be useful for running full
regressions outside of the cron job as well.