Commit Graph

2978 Commits

Author SHA1 Message Date
Eelco Dolstra
d0108cd951 * Set GCOV_PREFIX for all Upstart jobs.
svn path=/nixos/trunk/; revision=25479
2011-01-09 22:01:18 +00:00
Eelco Dolstra
c2f7256101 * Added an option `system.upstartEnvironment' to add a variable to all
Upstart jobs.

svn path=/nixos/trunk/; revision=25478
2011-01-09 22:00:41 +00:00
Eelco Dolstra
20b8258e68 * Handle the case where a machine produces no coverage data.
svn path=/nixos/trunk/; revision=25477
2011-01-09 21:37:01 +00:00
Eelco Dolstra
b5b7375eea * If a subtest fails, mark the build as failed.
svn path=/nixos/trunk/; revision=25474
2011-01-09 18:56:11 +00:00
Eelco Dolstra
7fd8ce0d95 * If a subtest fails, continue to the next subtest.
svn path=/nixos/trunk/; revision=25472
2011-01-09 18:46:02 +00:00
Eelco Dolstra
260d9faee7 * Urgh.
svn path=/nixos/trunk/; revision=25471
2011-01-09 18:31:03 +00:00
Eelco Dolstra
7adc21218f * Simulate connection interruptions.
svn path=/nixos/trunk/; revision=25470
2011-01-09 18:17:17 +00:00
Eelco Dolstra
a3aa97009c * Doh.
svn path=/nixos/trunk/; revision=25469
2011-01-09 18:16:59 +00:00
Eelco Dolstra
e4c1fb3ea7 * Pretty-print the VM build log and publish it as a build product.
svn path=/nixos/trunk/; revision=25468
2011-01-09 17:58:52 +00:00
Eelco Dolstra
405e4dd42e * Somewhere "set_link" stopped accepting "down" and "up" as valid
parameters.

svn path=/nixos/trunk/; revision=25466
2011-01-09 15:44:48 +00:00
Eelco Dolstra
e343a16a36 * Improved logging in the test driver.
* Support subtests.

svn path=/nixos/trunk/; revision=25451
2011-01-06 17:28:35 +00:00
Rob Vermaas
f2a0929116 typo
svn path=/nixos/trunk/; revision=25438
2011-01-06 10:21:38 +00:00
Eelco Dolstra
7378e17f74 * Test driver: write structured log info to $out/log.xml (not finished
yet).
* Machine->new -> createMachine (because VMs must be tracked in the
  %vms hash).

svn path=/nixos/trunk/; revision=25427
2011-01-05 15:27:21 +00:00
Eelco Dolstra
0966854590 * Use makeWrapper in building the test driver.
* In the interactive test driver, provide a function "testScript" to
  run the non-interactive test script.

svn path=/nixos/trunk/; revision=25426
2011-01-05 14:04:38 +00:00
Eelco Dolstra
c8bca42355 * Update the Bittorrent test for Transmission 2.
svn path=/nixos/trunk/; revision=25422
2011-01-05 11:52:45 +00:00
Eelco Dolstra
0829a9977d * Fix the infinite recursion in fcron while evaluating the manual.
svn path=/nixos/trunk/; revision=25418
2011-01-05 10:42:39 +00:00
Lluís Batlle i Rossell
efa2dccf44 Fixing the systab in fcron.
svn path=/nixos/trunk/; revision=25368
2011-01-03 18:36:31 +00:00
Evgeny Egorochkin
d8ad975a1f nixos-checkout: add support for git svn. Patch by Florian Friesdorf.
svn path=/nixos/trunk/; revision=25349
2011-01-02 22:13:56 +00:00
Michael Raskin
23f98ee250 Applying patch by chaoflow to get create services.postfix.extraConfig
svn path=/nixos/trunk/; revision=25345
2011-01-02 18:49:11 +00:00
Tobias Hammerschmidt
ddc6f84d9c updated broadcom wl driver
svn path=/nixos/trunk/; revision=25334
2011-01-02 11:05:46 +00:00
Lluís Batlle i Rossell
fe3e648979 Merging nixos stdenv-updates, as nixpkgs trunk got stdenv-updates merged some minutes ago.
svn path=/nixos/trunk/; revision=25316
2010-12-28 21:27:52 +00:00
Eelco Dolstra
ace958f669 * Sync with the trunk.
svn path=/nixos/branches/stdenv-updates/; revision=25307
2010-12-28 15:56:22 +00:00
Sander van der Burg
09c30053a2 Also pass the location of NixOS as argument to the deployment expression
svn path=/nixos/trunk/; revision=25275
2010-12-24 16:42:31 +00:00
Sander van der Burg
6ba45109a1 Integers must be converted to strings, of course
svn path=/nixos/trunk/; revision=25274
2010-12-24 16:34:18 +00:00
Eelco Dolstra
c65c03099f * Use "initctl restart".
svn path=/nixos/trunk/; revision=25249
2010-12-23 11:00:20 +00:00
Sander van der Burg
70402c9397 Adapted Disnix module to publish the svnBaseDir and to support the postgresql and subversion types
svn path=/nixos/trunk/; revision=25236
2010-12-22 13:32:51 +00:00
Sander van der Burg
edcf526c32 Added svnserve module, to serve Subversion repositories through the SVN protocol
svn path=/nixos/trunk/; revision=25235
2010-12-22 13:32:16 +00:00
Rob Vermaas
c8afc67f6a lib/testing.nix: vm state of nixos machines in network changed location
svn path=/nixos/trunk/; revision=25222
2010-12-21 10:57:19 +00:00
Rob Vermaas
e1c4b6a1f5 hydra-mirror.nix: forgot description for user
svn path=/nixos/trunk/; revision=25212
2010-12-20 14:17:30 +00:00
Rob Vermaas
5d7b524bd3 updated hydra mirror module
svn path=/nixos/trunk/; revision=25211
2010-12-20 14:14:29 +00:00
Eelco Dolstra
747e284e75 * Fix an evaluation error in tests.installer.rebuildCD.
svn path=/nixos/trunk/; revision=25193
2010-12-18 18:07:25 +00:00
Eelco Dolstra
ba459a0bf3 * Fix the broken installer (http://hydra.nixos.org/build/811980). The
hardware scan was generating a hardware.nix containing
  "pkgs.linuxPackages" without having "pkgs" in scope.  Also, it
  shouldn't define boot.kernelPackages.

svn path=/nixos/trunk/; revision=25192
2010-12-18 17:56:04 +00:00
Lluís Batlle i Rossell
3f7751b9c2 Merging from trunk
svn path=/nixos/branches/stdenv-updates/; revision=25176
2010-12-17 14:59:04 +00:00
Evgeny Egorochkin
3b28efd00d Git daemon: packaged.
svn path=/nixos/trunk/; revision=25163
2010-12-17 07:33:20 +00:00
Evgeny Egorochkin
5055c6dc29 Ghost One: add a check for language property values.
svn path=/nixos/trunk/; revision=25162
2010-12-17 07:33:03 +00:00
Eelco Dolstra
e90a1cfc59 * A quick hack to enable debugging of VM test scripts: the test script
is now made available in the interactive test driver.  For instance,
  you can do

  $ nix-build tests/ -A quake3.driver
  $ ./result/bin/nixos-test-driver
  > eval $ENV{'testScript'};
  ... see VMs + X11 + Quake get started, bots running around ...
  >

  So after this you can run commands interactively on the VMs in the
  state they were in after the conclusion of the test script.

svn path=/nixos/trunk/; revision=25158
2010-12-16 19:35:43 +00:00
Eelco Dolstra
dac1936869 * If $DISPLAY is set (i.e. in interactive mode), show QEMU's graphical
output.

svn path=/nixos/trunk/; revision=25157
2010-12-16 16:58:06 +00:00
Eelco Dolstra
445827ad45 * Added a convenience derivation for running the test driver
interactively on a network specification.  For instance:

  $ nix-build tests/ -A quake3.driver
  $ ./result/bin/nixos-test-driver
  > startAll;
  client1: starting vm
  client1: QEMU running (pid 14971)
  server: starting vm
  server: QEMU running (pid 14982)
  ...
  > $client1->execute("quake3 ...");

* Use the GNU readline library in interactive mode.

svn path=/nixos/trunk/; revision=25156
2010-12-16 15:54:15 +00:00
Eelco Dolstra
8496dbf350 * Absolutize the path to the VM start script.
svn path=/nixos/trunk/; revision=25154
2010-12-16 13:53:17 +00:00
Yury G. Kudryashov
aaf3247e80 Add cups_pdf_filter to default drivers list
svn path=/nixos/trunk/; revision=25153
2010-12-15 22:36:54 +00:00
Yury G. Kudryashov
bedc715ecd Be more verbose
svn path=/nixos/trunk/; revision=25152
2010-12-15 22:36:39 +00:00
Eelco Dolstra
ec16a59845 * Support file uploads in MediaWiki.
svn path=/nixos/trunk/; revision=25145
2010-12-15 13:21:21 +00:00
Eelco Dolstra
0887471e4e * Mediawiki 1.15.5.
svn path=/nixos/trunk/; revision=25144
2010-12-15 12:53:44 +00:00
Eelco Dolstra
6039c22da4 svn path=/nixos/trunk/; revision=25141 2010-12-15 12:10:17 +00:00
Evgeny Egorochkin
652a22f0da Ghost One: packaged.
svn path=/nixos/trunk/; revision=25136
2010-12-15 02:19:44 +00:00
Eelco Dolstra
37a9ffffb0 * Provide a default hostname and deployment target equal to the
attribute name of the machine in the model.  This allows
  networking.hostName and deployment.targetHost to be omitted for
  typical networks.

svn path=/nixos/trunk/; revision=25125
2010-12-14 13:36:54 +00:00
Eelco Dolstra
332f0418f7 * Make `services.sshd.enable' an alias rather than an obsolete option.
It's really an abstract configuration option that specifies that *some*
  SSH daemon should be enabled (which could be OpenSSH).

svn path=/nixos/trunk/; revision=25119
2010-12-14 11:48:07 +00:00
Eelco Dolstra
47157986f2 * Unbreak the NixOS installer tests.
svn path=/nixos/trunk/; revision=25096
2010-12-13 08:53:43 +00:00
Sander van der Burg
281f3b0776 Fixed the avahi service and do some better formatting of the key=value pairs
svn path=/nixos/trunk/; revision=25060
2010-12-10 23:58:57 +00:00
Sander van der Burg
b3c4444c26 The targetHost property defaults to the hostName of the system if not defined
svn path=/nixos/trunk/; revision=25057
2010-12-10 15:39:41 +00:00