diff options
Diffstat (limited to 'tests/integration/project/elements')
-rw-r--r-- | tests/integration/project/elements/filter/filter.bst | 16 | ||||
-rw-r--r-- | tests/integration/project/elements/filter/parent.bst | 20 |
2 files changed, 36 insertions, 0 deletions
diff --git a/tests/integration/project/elements/filter/filter.bst b/tests/integration/project/elements/filter/filter.bst new file mode 100644 index 000000000..78b5ff12d --- /dev/null +++ b/tests/integration/project/elements/filter/filter.bst @@ -0,0 +1,16 @@ +kind: filter +depends: +- filename: filter/parent.bst + type: build +config: + pass-integration: True + + # `sh` is `/bin/sh`, and `/bin` is not covered by any split rule + # As a result, to include `sh` in the image, we need to include orphans + # + # However we can use this to minimise the size of the artifacts, which + # will hopefully reduce test time + # + include-orphans: True + exclude: + - runtime diff --git a/tests/integration/project/elements/filter/parent.bst b/tests/integration/project/elements/filter/parent.bst new file mode 100644 index 000000000..35ac74d35 --- /dev/null +++ b/tests/integration/project/elements/filter/parent.bst @@ -0,0 +1,20 @@ +kind: compose +depends: +- filename: base.bst + type: build +public: + bst: + integration-commands: + - touch /foo +config: + # `sh` is `/bin/sh`, and `/bin` is not covered by any split rule + # As a result, to include `sh` in the image, we need to include orphans + # + # However we can use this to minimise the size of the artifacts, which + # will hopefully reduce test time + # + include-orphans: True + include: + - runtime + exclude: + - runtime |