regress (3727:7e3511898306) | regress (3734:5eb062f81950) |
---|---|
1#! /usr/bin/env python 2# Copyright (c) 2005-2006 The Regents of The University of Michigan 3# All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions are 7# met: redistributions of source code must retain the above copyright 8# notice, this list of conditions and the following disclaimer; --- 63 unchanged lines hidden (view full) --- 72# Quote string s so it can be passed as a shell arg 73def shellquote(s): 74 if ' ' in s: 75 s = "'%s'" % s 76 return s 77 78try: 79 if not tests: | 1#! /usr/bin/env python 2# Copyright (c) 2005-2006 The Regents of The University of Michigan 3# All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions are 7# met: redistributions of source code must retain the above copyright 8# notice, this list of conditions and the following disclaimer; --- 63 unchanged lines hidden (view full) --- 72# Quote string s so it can be passed as a shell arg 73def shellquote(s): 74 if ' ' in s: 75 s = "'%s'" % s 76 return s 77 78try: 79 if not tests: |
80 print "No tests specified." 81 sys.exit(1) 82 83 if 'all' in tests: | 80 print "No tests specified, just building binaries." 81 targets = ['build/%s/m5.%s' % (build, variant) 82 for build in builds 83 for variant in variants] 84 elif 'all' in tests: |
84 targets = ['build/%s/tests/%s' % (build, variant) 85 for build in builds 86 for variant in variants] 87 else: 88 targets = ['build/%s/tests/%s/%s' % (build, variant, test) 89 for build in builds 90 for variant in variants 91 for test in tests] --- 12 unchanged lines hidden --- | 85 targets = ['build/%s/tests/%s' % (build, variant) 86 for build in builds 87 for variant in variants] 88 else: 89 targets = ['build/%s/tests/%s/%s' % (build, variant, test) 90 for build in builds 91 for variant in variants 92 for test in tests] --- 12 unchanged lines hidden --- |