tests: add another test for abuild deps

Test that passing only `CHOST=... abuild deps` works as expected
This commit is contained in:
Natanael Copa 2023-10-17 22:30:00 +02:00
parent c73b8f4ca7
commit 08126de5f2
1 changed files with 9 additions and 0 deletions

View File

@ -1125,4 +1125,13 @@ abuild_deps_body() {
-e match:'apk add .*--arch s390x.*hostdep' \
-e not-match:'apk add.*checkdep' \
abuild deps
# crosscompile, set only CHOST
CHOST='armhf' atf_check \
-e match:'apk add.*builddep' \
-e not-match:'apk add.*--root.*builddep' \
-e match:'apk add.*--root.*--arch armhf.*hostdep' \
-e not-match:'apk add.*--arch armhf.*builddep' \
abuild deps
}