From 00307c81a603ba8ca5ceef17afee324e41730a6a Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Wed, 31 Jan 2024 18:27:45 +0100 Subject: [PATCH] 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. --- pkgs/applications/terminal-emulators/foot/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/terminal-emulators/foot/default.nix b/pkgs/applications/terminal-emulators/foot/default.nix index c4d7e2ddd783..0ea8f52be4ac 100644 --- a/pkgs/applications/terminal-emulators/foot/default.nix +++ b/pkgs/applications/terminal-emulators/foot/default.nix @@ -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" ];