From: Steve Reinhardt Date: Tue, 12 Dec 2006 17:54:59 +0000 (-0800) Subject: If no tests are specified for regression, just build the binaries X-Git-Tag: m5_2.0_beta3~275^2~4 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a7ea4885cebed69a56bb230955484fabb23ca986;p=gem5.git If no tests are specified for regression, just build the binaries (instead of complaining and exiting). --HG-- extra : convert_revision : 24ac0bab7fd92d9e74c80847a667f0affcd0473d --- 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]