Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: abe218950c779fd1c98034356d3b324d66a0d30a
      
https://github.com/NixOS/nixpkgs/commit/abe218950c779fd1c98034356d3b324d66a0d30a
  Author: Eelco Dolstra <[email protected]>
  Date:   2014-04-14 (Mon, 14 Apr 2014)

  Changed paths:
    M nixos/lib/testing.nix
    M nixos/release.nix
    M nixos/tests/avahi.nix
    M nixos/tests/bittorrent.nix
    M nixos/tests/containers.nix
    R nixos/tests/default.nix
    M nixos/tests/firefox.nix
    M nixos/tests/firewall.nix
    M nixos/tests/gnome3.nix
    M nixos/tests/installer.nix
    M nixos/tests/ipv6.nix
    M nixos/tests/jenkins.nix
    M nixos/tests/kde4.nix
    M nixos/tests/kexec.nix
    M nixos/tests/login.nix
    M nixos/tests/logstash.nix
    M nixos/tests/misc.nix
    M nixos/tests/mpich.nix
    M nixos/tests/mumble.nix
    M nixos/tests/munin.nix
    M nixos/tests/mysql-replication.nix
    M nixos/tests/mysql.nix
    M nixos/tests/nat.nix
    M nixos/tests/nfs.nix
    M nixos/tests/openssh.nix
    M nixos/tests/partition.nix
    M nixos/tests/printing.nix
    M nixos/tests/proxy.nix
    M nixos/tests/quake3.nix
    M nixos/tests/rabbitmq.nix
    M nixos/tests/run-in-machine.nix
    M nixos/tests/simple.nix
    M nixos/tests/subversion.nix
    M nixos/tests/tomcat.nix
    M nixos/tests/trac.nix
    M nixos/tests/udisks.nix
    M nixos/tests/xfce.nix

  Log Message:
  -----------
  Make it easier to run the tests

You can now run a test in the nixos/tests directory directly using
nix-build, e.g.

  $ nix-build '<nixos/tests/login.nix>' -A test

This gets rid of having to add the test to nixos/tests/default.nix.
(Of course, you still need to add it to nixos/release.nix if you want
Hydra to run the test.)


  Commit: 36c05d5e5b0025c9c6f62b101478e5e9f6da8d91
      
https://github.com/NixOS/nixpkgs/commit/36c05d5e5b0025c9c6f62b101478e5e9f6da8d91
  Author: Eelco Dolstra <[email protected]>
  Date:   2014-04-14 (Mon, 14 Apr 2014)

  Changed paths:
    M nixos/lib/testing.nix
    M nixos/release.nix

  Log Message:
  -----------
  Simplify running tests even further

Now you can just say:

  $ nix-build '<nixos/tests/login.nix>'

You can still get the driver script for interactive testing:

  $ nix-build '<nixos/tests/login.nix>' -A driver
  $ ./result/bin/nixos-test-driver


Compare: https://github.com/NixOS/nixpkgs/compare/753639e548b3...36c05d5e5b00
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to