[rtems-tools commit] rtems-bsp-builder: Fix profile error message.

Chris Johns chrisj at rtems.org
Wed Mar 15 04:24:03 UTC 2017


Module:    rtems-tools
Branch:    master
Commit:    056bd4b87f16207b8c888036b1b8548d509f245d
Changeset: http://git.rtems.org/rtems-tools/commit/?id=056bd4b87f16207b8c888036b1b8548d509f245d

Author:    Chris Johns <chrisj at rtems.org>
Date:      Wed Mar 15 15:23:40 2017 +1100

rtems-bsp-builder: Fix profile error message.

---

 tester/rt/check.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tester/rt/check.py b/tester/rt/check.py
index 44655f8..b82e902 100755
--- a/tester/rt/check.py
+++ b/tester/rt/check.py
@@ -212,7 +212,7 @@ class configuration:
         archs = []
         self.profiles['profiles'] = self._comma_list('profiles', 'profiles', error = False)
         if len(self.profiles['profiles']) == 0:
-            self.profiles['profiles'] = ['tier_%d' % (t) for t in range(1,4)]
+            self.profiles['profiles'] = ['tier-%d' % (t) for t in range(1,4)]
         for p in self.profiles['profiles']:
             profile = {}
             profile['name'] = p
@@ -512,7 +512,7 @@ class build:
 
     def build_profile(self, profile):
         if not self.config.profile_present(profile):
-            raise error.general('BSP not found: %s/%s' % (arch, bsp))
+            raise error.general('Profile not found: %s' % (profile))
         start = datetime.datetime.now()
         log.notice(']] Profile: %s' % (profile))
         for arch in self.config.profile_archs(profile):
@@ -562,7 +562,7 @@ def run_args(args):
                            action = 'store_true')
         argsp.add_argument('--profiles', help = 'Build the listed profiles.',
                            type = str, default = 'tier-1')
-        argsp.add_argument('--build', help = 'Build variation.', type = str)
+        argsp.add_argument('--build', help = 'Build variation.', type = str, default='all')
         argsp.add_argument('--arch', help = 'Build the specific architecture.', type = str)
         argsp.add_argument('--bsp', help = 'Build the specific BSP.', type = str)
         argsp.add_argument('--dry-run', help = 'Do not run the actual builds.',



More information about the vc mailing list