about summary refs log tree commit diff
path: root/pkgs/applications/terminal-emulators
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2024-01-31 18:27:45 +0100
committersternenseemann <sternenseemann@systemli.org>2024-03-13 12:05:08 +0100
commit00307c81a603ba8ca5ceef17afee324e41730a6a (patch)
tree088326b65fd0f8af138f361cdaf74ad2c4df31cd /pkgs/applications/terminal-emulators
parente445e3a3e2c6d18dd1dc5b3df93a46af68b223d6 (diff)
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.
Diffstat (limited to 'pkgs/applications/terminal-emulators')
-rw-r--r--pkgs/applications/terminal-emulators/foot/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/terminal-emulators/foot/default.nix b/pkgs/applications/terminal-emulators/foot/default.nix
index c4d7e2ddd783b..0ea8f52be4ac9 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" ];