aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-03-28 15:24:35 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-04-18 18:06:49 +0000
commit0ed40958c7638f1e53a83a3b61cd8e0c99e4fb02 (patch)
tree48bffd1034e326d8f6e89677d2ec19c946ad19ec
parentchangelog: add new ‘unreleased’ section (diff)
install: add ‘ninja test’ to all build types
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.
-rw-r--r--INSTALL.md3
1 files changed, 3 insertions, 0 deletions
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
```