From 1cb89fef9e55b93d73afda72b42bdead62abd83d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Thu, 22 Apr 2021 11:28:04 +0200 Subject: [PATCH] =?UTF-8?q?pkgbuild:=20run=20=E2=80=98ninja=20test?= =?UTF-8?q?=E2=80=99=20in=20the=20PGO=20generate=20phase?= 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)