mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
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:
parent
6b116865f6
commit
0ed40958c7
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
```
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue