Re: [BuildStream] Proposal: Add support for running tests in BuildStream



Hi again...

On Tue, 2018-10-30 at 21:33 +0900, Tristan Van Berkom via BuildStream-
list wrote:
[...]
I'd like to illustrate a couple of interesting properties here,
starting with your graph above.

Consider the build graph below as Chandan described it, and consider
that lib-test.bst satisfies the "tested" condition of lib.bst.

Similarly app-test.bst satisfies the "tested" condition of app.bst.

                     [base.bst]
                         |
                         |
                         v
  [lib-test.bst] <-- [lib.bst]
                         |
                         |
                         v
                     [app.bst] --> [app-test.bst]
                         |
                         |
                         v
                   [app-pkg.bst]


Add to this, that app-pkg.bst makes the following statement:

  I require that all of my dependencies have the "tested" condition
  satisfied

Then the above dependency graph is transformed in the following way:


Eeek sorry that wrapped horribly, let me try that one more time:

                     [base.bst]
                         |
                         |
                         v
  [lib-test.bst] <-- [lib.bst]
         |               |
         |               |
         |               v
         |           [app.bst] --> [app-test.bst]
         |               |               |
         |               |               |
         |               v               |
         +--------> [app-pkg.bst] <------+

Let's hope this doesnt get wrapped in transfer this time...

Cheers,
    -Tristan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]