Adjusted the tests for IBoM's variants support.
- Removed the extra filters that aren't needed now. - Added a couple of test cases to cover special situations.
This commit is contained in:
parent
b94a2cb6a4
commit
59ddbaa41f
|
|
@ -116,5 +116,5 @@ def test_ibom_variant_1():
|
|||
check_modules(ctx, prj+'-ibom_V3.html', ['R1', 'R4'])
|
||||
# V1,V3
|
||||
logging.debug("* `bla bla` variant")
|
||||
check_modules(ctx, prj+'-ibom_bla_bla.html', ['R1', 'R4'])
|
||||
check_modules(ctx, prj+'-ibom_bla_bla.html', ['R4'])
|
||||
ctx.clean_up()
|
||||
|
|
|
|||
|
|
@ -38,7 +38,6 @@ outputs:
|
|||
type: ibom
|
||||
dir: BoM
|
||||
options:
|
||||
dnf_filter: '_kibom_dnf_Config'
|
||||
variant: 'default'
|
||||
|
||||
- name: 'bom_internal_v1'
|
||||
|
|
@ -46,7 +45,6 @@ outputs:
|
|||
type: ibom
|
||||
dir: BoM
|
||||
options:
|
||||
dnf_filter: '_kibom_dnf_Config'
|
||||
variant: t1_v1
|
||||
|
||||
- name: 'bom_internal_v2'
|
||||
|
|
@ -54,7 +52,6 @@ outputs:
|
|||
type: ibom
|
||||
dir: BoM
|
||||
options:
|
||||
dnf_filter: '_kibom_dnf_Config'
|
||||
variant: t1_v2
|
||||
|
||||
- name: 'bom_internal_v3'
|
||||
|
|
@ -62,7 +59,6 @@ outputs:
|
|||
type: ibom
|
||||
dir: BoM
|
||||
options:
|
||||
dnf_filter: '_kibom_dnf_Config'
|
||||
variant: t1_v3
|
||||
|
||||
- name: 'bom_internal_bla_bla'
|
||||
|
|
@ -70,5 +66,6 @@ outputs:
|
|||
type: ibom
|
||||
dir: BoM
|
||||
options:
|
||||
dnf_filter: '_kibom_dnf_Config'
|
||||
variant: 'bla bla'
|
||||
# This will let only R4
|
||||
blacklist: R1
|
||||
|
|
|
|||
|
|
@ -9,6 +9,8 @@ variants:
|
|||
type: kibom
|
||||
file_id: '_(V1)'
|
||||
variant: V1
|
||||
# This isn't needed is just to be sure we can default to _kibom_dnc_config
|
||||
dnc_filter: '_kibom_dnc'
|
||||
|
||||
- name: 't1_v1b'
|
||||
comment: 'Test 1 Variant V1'
|
||||
|
|
|
|||
Loading…
Reference in New Issue