From a88a86f797c22dc8a678eb3174df647731650c79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sun, 28 Mar 2021 17:24:35 +0200 Subject: [PATCH] =?UTF-8?q?install:=20add=20=E2=80=98ninja=20test=E2=80=99?= =?UTF-8?q?=20to=20all=20build=20types?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit While we don’t (yet) have any unit tests for foot, users can build foot with e.g. fcft and/or tllist as sub-projects. *They* have tests, and when doing PGO builds, those test binaries *must* be executed, or we get link failures in the final build. --- INSTALL.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/INSTALL.md b/INSTALL.md index 9fa651e1..1d0459bc 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -200,6 +200,7 @@ Then, tell meson we want to _generate_ profiling data, and build: ```sh meson configure -Db_pgo=generate ninja +ninja test ``` Next, we need to actually generate the profiling data. @@ -303,6 +304,7 @@ Next, tell meson to _use_ the profile data we just generated, and rebuild: ```sh meson configure -Db_pgo=use ninja +ninja test ``` Continue reading in [Running the new build](#running-the-new-build) @@ -313,6 +315,7 @@ Continue reading in [Running the new build](#running-the-new-build) ```sh meson --buildtype=debug ../.. ninja +ninja test ```