Merge pull request #118442 from Ekleog/nixos-tests
Add nixos tests with names starting by A or B to all relevant packages
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchurl, installShellFiles }:
|
||||
{ lib, stdenv, fetchurl, installShellFiles, nixosTests }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.12";
|
||||
@@ -19,6 +19,10 @@ stdenv.mkDerivation rec {
|
||||
installManPage doc/beanstalkd.1
|
||||
'';
|
||||
|
||||
passthru.tests = {
|
||||
smoke-test = nixosTests.beanstalkd;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://kr.github.io/beanstalkd/";
|
||||
description = "A simple, fast work queue";
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
, snappy
|
||||
, zeromq
|
||||
, zlib
|
||||
, nixosTests
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
@@ -54,6 +55,10 @@ buildGoModule rec {
|
||||
cp -r $src/static/css/ $out/share/
|
||||
'';
|
||||
|
||||
passthru.tests = {
|
||||
smoke-test = nixosTests.blockbook-frontend;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Trezor address/account balance backend";
|
||||
homepage = "https://github.com/trezor/blockbook";
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{ lib, stdenv, fetchurl, perl, zlib, apr, aprutil, pcre, libiconv, lynx
|
||||
, nixosTests
|
||||
, proxySupport ? true
|
||||
, sslSupport ? true, openssl
|
||||
, http2Support ? true, nghttp2
|
||||
@@ -85,6 +86,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
passthru = {
|
||||
inherit apr aprutil sslSupport proxySupport ldapSupport luaSupport lua5;
|
||||
tests = {
|
||||
acme-integration = nixosTests.acme;
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -145,6 +145,7 @@ stdenv.mkDerivation {
|
||||
tests = {
|
||||
inherit (nixosTests) nginx nginx-auth nginx-etag nginx-pubhtml nginx-sandbox nginx-sso;
|
||||
variants = lib.recurseIntoAttrs nixosTests.nginx-variants;
|
||||
acme-integration = nixosTests.acme;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user