diff options
author | bezmuth <benkel97@protonmail.com> | 2022-08-15 13:37:55 +0100 |
---|---|---|
committer | bezmuth <benkel97@protonmail.com> | 2022-08-15 13:37:55 +0100 |
commit | 3dc237306e8f20b1f8af52efef92abf7530147cc (patch) | |
tree | 883fd098145c293e45439eec77bfbb7d14b1e536 /pkgs/applications/networking/instant-messengers/dino | |
parent | e9a27ca6f6a0810ac91892e373a5fd671ad35e26 (diff) |
dino: simplify checkPhase
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/dino')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/dino/default.nix | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/pkgs/applications/networking/instant-messengers/dino/default.nix b/pkgs/applications/networking/instant-messengers/dino/default.nix index 1e8f23e189def..3cee984d95d65 100644 --- a/pkgs/applications/networking/instant-messengers/dino/default.nix +++ b/pkgs/applications/networking/instant-messengers/dino/default.nix @@ -77,20 +77,11 @@ stdenv.mkDerivation rec { doCheck = true; checkPhase = '' - echo "================= Running built tests =================" - set -x - ./xmpp-vala-test - TEST1=$? - ./signal-protocol-vala-test - TEST2=$? - set +x - if [ $TEST1 != 0 ] || [ $TEST2 != 0 ]; then - echo "tests failed" - exit 1; - else - echo "tests succeeded" - fi - echo "================= /Running built tests =================" + runHook preCheck + set -e + ./xmpp-vala-test + ./signal-protocol-vala-test + runHook postCheck ''; # Dino looks for plugins with a .so filename extension, even on macOS where |