diff options
author | Daniel Eklöf | 2021-04-21 09:51:13 +0200 |
---|---|---|
committer | Daniel Eklöf | 2021-04-21 09:51:13 +0200 |
commit | 3853b7c5d20f4a73a693e6a539bffa4d7e39d176 (patch) | |
tree | 92d7eebed6bbce7b5c4eee85fafc28052ea4fd84 | |
parent | 6e7851097e3c19534d6e85eef4eaf69cf6511cc5 (diff) | |
download | aur-3853b7c5d20f4a73a693e6a539bffa4d7e39d176.tar.gz |
Run tests in the PGO generate phase
This is needed to ensure *all* generated binaries, including
e.g. unittests from pulled in subprojects (like fcft), generate *some*
profiling data.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -1,6 +1,6 @@ pkgbase = foot-git pkgver = 1.7.2 - pkgrel = 1 + pkgrel = 2 url = https://codeberg.org/dnkl/foot arch = x86_64 arch = aarch64 @@ -1,7 +1,7 @@ # Maintainer: Daniel Eklöf <daniel at ekloef dot se> pkgname=('foot-git' 'foot-terminfo-git') pkgver=1.7.2 -pkgrel=1 +pkgrel=2 arch=('x86_64' 'aarch64') url=https://codeberg.org/dnkl/foot license=(mit) @@ -53,6 +53,10 @@ build() { meson configure -Db_pgo=generate build ninja -C build + # Need to run tests here, to ensure *all* generated binaries have + # profiling data (including e.g. unit tests from fcft/tllist). + ninja -C build test + local script_options="--scroll --scroll-region --colors-regular --colors-bright --colors-256 --colors-rgb --attr-bold --attr-italic --attr-underline --sixel" local tmp_file=$(mktemp) |