Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1587

Error when passing variables to ModuleProvider items

    XMLWordPrintable

Details

    • Linux/X11
    • 1e713049134f1826c69ac14a97c9a602c24f3399 (qbs/qbs/1.17)

    Description

      Setting properties on a ModuleProvider from within a Product does not work, if the value being assigned is a variable. Runnin QBS on tests/auto/blackbox/testdata/module-providers/module-providers.qbs also fails:

      ~/src/git/qbs/tests/auto/blackbox/testdata/module-providers$ qbs 
      Build graph does not yet exist for configuration 'default'. Starting from scratch.
      Resolving project for configuration default
      Running setup script for mygenerator
      Running setup script for othergenerator
      ERROR: /home/mardy/src/git/qbs/tests/auto/blackbox/testdata/module-providers/module-providers.qbs:9:5 Error while handling product 'app1':
      /home/mardy/src/git/qbs/tests/auto/blackbox/testdata/module-providers/module-providers.qbs:14 Can't find variable: project
      /home/mardy/src/git/qbs/tests/auto/blackbox/testdata/module-providers/module-providers.qbs:12:9 Dependency 'mygenerator.module2' not found for product 'app1'.
      /home/mardy/src/git/qbs/tests/auto/blackbox/testdata/module-providers/module-providers.qbs:14 Can't find variable: project
      

      It looks like the module-providers test is not run by the CI.

      Attachments

        For Gerrit Dashboard: QBS-1587
        # Subject Branch Project Status CR V

        Activity

          People

            kandeler Christian Kandeler
            mardy Alberto Mardegan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes