summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2006-12-12 09:54:59 -0800
committerSteve Reinhardt <stever@eecs.umich.edu>2006-12-12 09:54:59 -0800
commita7ea4885cebed69a56bb230955484fabb23ca986 (patch)
tree37b286e4b7ca5ca53aa285b99c4a115d2a6083ab /util
parentcdc3e5bc22369166eb4c616e8512324d60b6a20e (diff)
downloadgem5-a7ea4885cebed69a56bb230955484fabb23ca986.tar.xz
If no tests are specified for regression, just build the binaries
(instead of complaining and exiting). --HG-- extra : convert_revision : 24ac0bab7fd92d9e74c80847a667f0affcd0473d
Diffstat (limited to 'util')
-rwxr-xr-xutil/regress9
1 files changed, 5 insertions, 4 deletions
diff --git a/util/regress b/util/regress
index 4492162eb..5d6f321f2 100755
--- a/util/regress
+++ b/util/regress
@@ -77,10 +77,11 @@ def shellquote(s):
try:
if not tests:
- print "No tests specified."
- sys.exit(1)
-
- if 'all' in tests:
+ print "No tests specified, just building binaries."
+ targets = ['build/%s/m5.%s' % (build, variant)
+ for build in builds
+ for variant in variants]
+ elif 'all' in tests:
targets = ['build/%s/tests/%s' % (build, variant)
for build in builds
for variant in variants]