[Nix-dev] tests with meta section
Joachim Schiele
js at lastlog.de
Tue Jun 2 09:17:23 CEST 2015
hi,
wouldn't it be helpful if the unit tests in release.nix, like these:
# Run the tests for each platform. You can run a test by doing
# e.g. ‘nix-build -A tests.login.x86_64-linux’, or equivalently,
# ‘nix-build tests/login.nix -A result’.
tests.avahi = callTest tests/avahi.nix {};
tests.bittorrent = callTest tests/bittorrent.nix {};
tests.blivet = callTest tests/blivet.nix {};
tests.cadvisor = hydraJob (import tests/cadvisor.nix { system =
"x86_64-linux"; });
tests.chromium = callTest tests/chromium.nix {};
...
would also contain a meta section with maintainer, so if a tests fails
on hydra, i get an email?
regards,
joachim
More information about the nix-dev
mailing list