Commit 00307c81 authored by sternenseemann's avatar sternenseemann
Browse files

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.
parent e445e3a3
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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" ];