mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
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
|
||||
, 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