Uploaded image for project: 'Open Development'
  1. Open Development
  2. OPEN-300

autobuild does not properly honor "default" attribute of a configuration

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: None
    • Labels:
      None

      Description

      Setting a configuration (eg RelWithDebInfo) to non default right now only works by removing:
      <key>default</key>
      <string>True</string>

      altogether. An obvious solution seems to just use
      <key>default</key>
      <string>False</string>

      but this still marks a configuration as default.

      This is a bug in
      def get_default_build_configurations(self,platform_name=common.get_current_platform())

      (autobuild/configfile.py), there is a innocent looking statement:

      if value.default:
      default_build_configurations.append(value)

      Because value.default being a string this should be:
      if value.default == "True":
      default_build_configurations.append(value)

        Attachments

          Activity

            People

            Assignee:
            brad.linden Brad Linden
            Reporter:
            nicky.dasmijn Nicky Dasmijn
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                PagerDuty