pkgbuild: run ‘ninja test’ in the PGO generate phase

This is needed when fcft/tllist are built as subprojects, since then
we must ensure their unit tests are executed, or we’ll get “profile
count data file not found” errors.
This commit is contained in:
Daniel Eklöf 2021-04-22 11:28:04 +02:00
parent 070f102605
commit 1cb89fef9e
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -48,6 +48,11 @@ build() {
meson configure -Db_pgo=generate
ninja
# If fcft/tllist are subprojects, we need to ensure their tests
# have been executed, or well get “profile count data file not
# found” errors.
ninja test
local script_options="--scroll --scroll-region --colors-regular --colors-bright --colors-256 --colors-rgb --attr-bold --attr-italic --attr-underline --sixel"
tmp_file=$(mktemp)