mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
GNU MyServer: Kill the test suite.
svn path=/nixpkgs/trunk/; revision=26161
This commit is contained in:
parent
cc02933305
commit
69e259eaf2
1 changed files with 10 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
|||
{ fetchurl, stdenv, libgcrypt, libevent, libidn, gnutls
|
||||
, libxml2, zlib, guile, texinfo, cppunit, xz }:
|
||||
, libxml2, zlib, guile, texinfo, cppunit, xz, psmisc }:
|
||||
|
||||
let version = "0.10"; in
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (rec {
|
||||
name = "myserver-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -42,3 +42,11 @@ let version = "0.10"; in
|
|||
platforms = stdenv.lib.platforms.gnu;
|
||||
};
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
# On GNU/Linux the `test_suite' process sometimes stays around, so
|
||||
# forcefully terminate it.
|
||||
(if stdenv.isLinux
|
||||
then { postCheck = "${psmisc}/bin/killall test_suite || true"; }
|
||||
else { }))
|
||||
|
|
Loading…
Reference in a new issue