PKGBUILD: run 'ninja test' in pgo=generate phase

Otherwise the build fails in the pgo=use phase.
This commit is contained in:
Daniel Eklöf 2019-11-20 10:35:44 +01:00
parent 7c2dd93690
commit a8c0770ce2
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -15,11 +15,13 @@ pkgver() {
build() {
meson --prefix=/usr --buildtype=release -Db_lto=true -Dc_args="-fno-stack-protector" -Db_pgo=generate ..
ninja
ninja test
tmp_file=$(mktemp)
./foot --term=xterm -- sh -c "../scripts/generate-alt-random-writes.py --scroll --scroll-region --colors-regular --colors-bright --colors-rgb ${tmp_file} && cat ${tmp_file}"
rm "${tmp_file}"
# Need to execute *all* binaries... :/
./footclient --version
meson configure -Db_pgo=use