Commits on Source 15
-
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
-
Bump the version of pytest-cov, so that we pick up the fix for the '--no-cov' option breaking in pytest 4.0: https://github.com/pytest-dev/pytest-cov/pull/230 This was the error you would get prior to this version: _pytest.warning_types.RemovedInPytest4Warning: config.warn has been deprecated, use warnings.warn instead Although it says 'deprecated', it did result in termination with stack trace.
-
To help new folks get to grips with pytest, add some tips on other frequently used features.
-
Angelos Evripiotis authored
pytest-cov==2.6.1, contributing: '--last-failed' and '--no-cov' tips See merge request !1059
-
Tristan Van Berkom authored
Minor correction, looks like we're not observing this queue otherwise we'd be seeing crashes.
-
Tristan Van Berkom authored
_scheduler/queues/queue.py: Put elements in the skip list, not jobs See merge request !1063
-
-
Valentin David authored
.gitlab-ci.yml: Use latest freedesktop-sdk 18.08.25 Closes #858 See merge request !1064
-
Chandan Singh authored
During recent reorganizing of `.gitlab-ci.yml` to work with `tox`, seems like we missed to update the image used by the overnight aarch tests, meaning that they currently fail due to `tox` being missing from them. While these tests will be skipped on MRs usually, here is an example of what the tests look like if they are actually run with this change: https://gitlab.com/BuildStream/buildstream/-/jobs/145449561. Fixes #859.
-
Chandan Singh authored
Chandan/fix overnight aarch Closes #859 See merge request !1065
-
The path of the config file generated by testutils for completion tests is passed as regular argument, not via COMP_WORDS. Use that config file in complete_artifact() to ensure the test uses the right artifact directory.
-
Since the artifact subcommand group has been created, we have been able to tab complete both element names and artifact refs as arguments to the artifact subcommands (e.g. bst artifact log), this commit adds a test for this.