tests: Don't check example blueprints if we don't have to
ATM osbuild-composer doesn't ship example blueprints
This commit is contained in:
parent
14a3c8d5a7
commit
d68e01b7e1
@ -11,10 +11,12 @@ CLI="${CLI:-./src/bin/composer-cli}"
|
|||||||
|
|
||||||
rlJournalStart
|
rlJournalStart
|
||||||
rlPhaseStartTest "blueprints list"
|
rlPhaseStartTest "blueprints list"
|
||||||
for bp in example-http-server example-development example-atlas; do
|
if [ "$BACKEND" != "osbuild-composer" ]; then
|
||||||
rlAssertEquals "blueprint list finds $bp" \
|
for bp in example-http-server example-development example-atlas; do
|
||||||
"`$CLI blueprints list | grep $bp`" "$bp"
|
rlAssertEquals "blueprint list finds $bp" \
|
||||||
done
|
"`$CLI blueprints list | grep $bp`" "$bp"
|
||||||
|
done
|
||||||
|
fi
|
||||||
rlPhaseEnd
|
rlPhaseEnd
|
||||||
|
|
||||||
rlPhaseStartTest "blueprints save"
|
rlPhaseStartTest "blueprints save"
|
||||||
|
Loading…
Reference in New Issue
Block a user