From 1cb89fef9e55b93d73afda72b42bdead62abd83d Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Thu, 22 Apr 2021 11:28:04 +0200 Subject: pkgbuild: run ‘ninja test’ in the PGO generate phase MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- PKGBUILD | 5 +++++ 1 file changed, 5 insertions(+) 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) -- cgit v1.3