GNU MyServer: Kill the test suite.
svn path=/nixpkgs/trunk/; revision=26161
This commit is contained in:
parent
cc02933305
commit
69e259eaf2
@ -1,8 +1,8 @@
|
|||||||
{ fetchurl, stdenv, libgcrypt, libevent, libidn, gnutls
|
{ fetchurl, stdenv, libgcrypt, libevent, libidn, gnutls
|
||||||
, libxml2, zlib, guile, texinfo, cppunit, xz }:
|
, libxml2, zlib, guile, texinfo, cppunit, xz, psmisc }:
|
||||||
|
|
||||||
let version = "0.10"; in
|
let version = "0.10"; in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (rec {
|
||||||
name = "myserver-${version}";
|
name = "myserver-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
@ -42,3 +42,11 @@ let version = "0.10"; in
|
|||||||
platforms = stdenv.lib.platforms.gnu;
|
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…
x
Reference in New Issue
Block a user