Commits on Source (25)
-
Tristan Van Berkom authored
This patch namespaces the test temp directory and the output coverage report file with the name of the environment under test, such that separately run tests do not access the same files. When running tests without tox, directly through setup.py, then the tmp directory will still be `./tmp`. * .gitignore: Added new .coverage-reports/ directory * .gitlab-ci.yml: Rely on tox to combine and report coverage, only tell tox about the COVERAGE_PREFIX so that results can be namespaced by CI job name. This change also publishes the sources and final combined `.coverage` file in an output gitlab artifact for inspection, and lists some missing dependencies to the `coverage` job. * tox.ini: Add comments and refactor main [testenv] section so that other environments dont inherit too much unrelated cruft. Generate the coverate reports in the respective {envtmpdir} so that all per-process coverage files are prefixed with a full path, ensuring that concurrent runs don't mix reports and addressing concerns raised in #844. Also implemented new `tox -e coverage` environment to combine any found coverage and print a report. * .coveragerc: Omit .tox/ directory from coverage stats Fixes issue #844
-
Tristan Van Berkom authored
Also point out that it is possible to run test environments in parallel using the `detox` tool.
-
Tristan Van Berkom authored
Allow using detox, and fix/refactor collection of coverage reports Closes #844 See merge request !1051
-
Tristan Van Berkom authored
* Omit versioneer's _version.py * Omit our __main__.py which is used only internally for generating documentation
-
Tristan Van Berkom authored
.coveragerc: Omit some things which are irrelevant to cover. See merge request !1052
-
Jürg Billeter authored
-
Jürg Billeter authored
Accept common architecture aliases for arch options instead of only accepting the canonicalized, OS-independent architecture name. This restores compatibility with existing projects and may simplify option handling for projects that only target a single OS (and thus, do not need OS-independent architecture names).
-
Jürg Billeter authored
Accept common architecture aliases for the sandbox config for consistency with arch options.
-
Jürg Billeter authored
-
Jürg Billeter authored
Accept architecture aliases See merge request !1034
-
-
Angelos Evripiotis authored
contributing: fix 'oprtation' and some other typos See merge request !1055
-
Tristan Van Berkom authored
The algorithm adds elements to a dictionary and then sorts the dictionary by the discovered depths while recursing - using an OrderedDict is enough to ensure a stable order. This fixes `bst show --deps plan ...` reporting different results on each invocation. This fixes an aspect of #824
-
Tristan Van Berkom authored
Added a function to report the list of elements which appeared in a given queue in the order of their first appearance.
-
Tristan Van Berkom authored
For each sample project and expected result order, this test ensures that: * bst show --deps plan: Always shows the expected build order. * bst source fetch: Always executes in the expected build order. * bst build: Always builds in the expected order (disabled). The build part of the test is currently disabled as the scheduler seems to be messing with the order even in a `--builders 1` scenario.
-
Tristan Van Berkom authored
Make build plan element list stable See merge request !1058
-
Benjamin Schubert authored
Previously, we would update the state of all elements in the pipeline, everytime an element in the queue would change state. This is inefficient. We know that the only impacted elements will be the direct build reverse dependencies. We can therefore, by recording the direct build reverse dependencies, only update those and reduce the time we spend updating states.
-
Benjamin Schubert authored
-
Benjamin Schubert authored
-
Benjamin Schubert authored
-
Benjamin Schubert authored
-
Benjamin Schubert authored
-
Benjamin Schubert authored
-
Benjamin Schubert authored
-
Benjamin Schubert authored
Showing
- .coveragerc 5 additions, 1 deletion.coveragerc
- .gitignore 2 additions, 1 deletion.gitignore
- .gitlab-ci.yml 11 additions, 17 deletions.gitlab-ci.yml
- CONTRIBUTING.rst 31 additions, 11 deletionsCONTRIBUTING.rst
- buildstream/_options/optionarch.py 30 additions, 1 deletionbuildstream/_options/optionarch.py
- buildstream/_pipeline.py 2 additions, 4 deletionsbuildstream/_pipeline.py
- buildstream/_platform/platform.py 28 additions, 14 deletionsbuildstream/_platform/platform.py
- buildstream/_scheduler/queues/buildqueue.py 0 additions, 3 deletionsbuildstream/_scheduler/queues/buildqueue.py
- buildstream/_scheduler/queues/fetchqueue.py 2 additions, 5 deletionsbuildstream/_scheduler/queues/fetchqueue.py
- buildstream/_scheduler/queues/pullqueue.py 0 additions, 3 deletionsbuildstream/_scheduler/queues/pullqueue.py
- buildstream/_stream.py 0 additions, 11 deletionsbuildstream/_stream.py
- buildstream/element.py 58 additions, 3 deletionsbuildstream/element.py
- tests/format/option-arch-alias/element.bst 8 additions, 0 deletionstests/format/option-arch-alias/element.bst
- tests/format/option-arch-alias/project.conf 9 additions, 0 deletionstests/format/option-arch-alias/project.conf
- tests/format/option-arch-unknown/element.bst 10 additions, 0 deletionstests/format/option-arch-unknown/element.bst
- tests/format/option-arch-unknown/project.conf 10 additions, 0 deletionstests/format/option-arch-unknown/project.conf
- tests/format/optionarch.py 44 additions, 0 deletionstests/format/optionarch.py
- tests/frontend/order.py 109 additions, 0 deletionstests/frontend/order.py
- tests/testutils/runcli.py 17 additions, 0 deletionstests/testutils/runcli.py
- tox.ini 41 additions, 1 deletiontox.ini
tests/format/option-arch-alias/element.bst
0 → 100644
tests/format/option-arch-alias/project.conf
0 → 100644
tests/format/option-arch-unknown/element.bst
0 → 100644
tests/frontend/order.py
0 → 100644