foot: run tests

- `ninja test` in the profiling step is more robust if more tests are
  added in the future

- We technically run the test suite twice now, but this is not really an
  issue, as it is pretty quick.
This commit is contained in:
sternenseemann 2024-01-31 18:27:45 +01:00
parent e445e3a3e2
commit 00307c81a6

View file

@ -165,10 +165,10 @@ stdenv.mkDerivation {
meson configure -Db_pgo=generate
ninja
# make sure there is _some_ profiling data on all binaries
meson test
./footclient --version
./foot --version
./utils/xtgettcap
./tests/test-config
# generate pgo data of wayland independent code
./pgo ${stimuliFile} ${stimuliFile} ${stimuliFile}
meson configure -Db_pgo=use
@ -182,6 +182,8 @@ stdenv.mkDerivation {
moveToOutput share/foot/themes "$themes"
'';
doCheck = true;
strictDeps = true;
outputs = [ "out" "terminfo" "themes" ];