Changeset 056bd4b in rtems-tools


Ignore:
Timestamp:
Mar 15, 2017, 4:23:40 AM (2 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
master
Children:
d1f542f
Parents:
e4b3143
Message:

rtems-bsp-builder: Fix profile error message.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tester/rt/check.py

    re4b3143 r056bd4b  
    213213        self.profiles['profiles'] = self._comma_list('profiles', 'profiles', error = False)
    214214        if len(self.profiles['profiles']) == 0:
    215             self.profiles['profiles'] = ['tier_%d' % (t) for t in range(1,4)]
     215            self.profiles['profiles'] = ['tier-%d' % (t) for t in range(1,4)]
    216216        for p in self.profiles['profiles']:
    217217            profile = {}
     
    513513    def build_profile(self, profile):
    514514        if not self.config.profile_present(profile):
    515             raise error.general('BSP not found: %s/%s' % (arch, bsp))
     515            raise error.general('Profile not found: %s' % (profile))
    516516        start = datetime.datetime.now()
    517517        log.notice(']] Profile: %s' % (profile))
     
    563563        argsp.add_argument('--profiles', help = 'Build the listed profiles.',
    564564                           type = str, default = 'tier-1')
    565         argsp.add_argument('--build', help = 'Build variation.', type = str)
     565        argsp.add_argument('--build', help = 'Build variation.', type = str, default='all')
    566566        argsp.add_argument('--arch', help = 'Build the specific architecture.', type = str)
    567567        argsp.add_argument('--bsp', help = 'Build the specific BSP.', type = str)
Note: See TracChangeset for help on using the changeset viewer.