If no tests are specified for regression, just build the binaries
authorSteve Reinhardt <stever@eecs.umich.edu>
Tue, 12 Dec 2006 17:54:59 +0000 (09:54 -0800)
committerSteve Reinhardt <stever@eecs.umich.edu>
Tue, 12 Dec 2006 17:54:59 +0000 (09:54 -0800)
(instead of complaining and exiting).

--HG--
extra : convert_revision : 24ac0bab7fd92d9e74c80847a667f0affcd0473d

util/regress

index 4492162eba9696f9faeb1d2c313aefb598aa3f04..5d6f321f250c1bb4427ad188dc5e8c4cfd86b010 100755 (executable)
@@ -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]