build: improve build tests

This commit is contained in:
Alexandre Pujol 2024-03-10 14:48:05 +00:00
parent be373dfb80
commit 70b043cdae
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
2 changed files with 3 additions and 0 deletions

View file

@ -77,6 +77,7 @@ func Test_PreBuild(t *testing.T) {
Distribution = tt.dist
if tt.full {
Prepares = append(Prepares, SetFullSystemPolicy)
Builds = append(Builds, BuildFullSystemPolicy)
}
if tt.complain {
Builds = append(Builds, BuildComplain)