aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-04-22 09:28:04 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-04-22 09:28:04 +0000
commit1cb89fef9e55b93d73afda72b42bdead62abd83d (patch)
treec356b245316199f1b8881c1dc712ac943ba3f871
parentMerge branch 'generate-alt-random-writes-fixes' (diff)
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.
-rw-r--r--PKGBUILD5
1 files changed, 5 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6eabe0b5..af9fba2a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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 we’ll 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)