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.
This commit is contained in:
Daniel Eklöf 2021-03-28 17:24:35 +02:00
parent 5709630362
commit a88a86f797
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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
```