Eelco Dolstra
04b43f1e3f
* Remove tabs because this causes the shell script to be misindented.
...
svn path=/nixos/trunk/; revision=25522
2011-01-12 15:40:46 +00:00
Eelco Dolstra
5560e422ad
* Prerender the tree toggle.
...
svn path=/nixos/trunk/; revision=25494
2011-01-10 15:29:22 +00:00
Eelco Dolstra
0b33ba7e53
* Clean up the presentation of the log file a bit.
...
svn path=/nixos/trunk/; revision=25493
2011-01-10 15:17:38 +00:00
Eelco Dolstra
60b6eb7579
* Add a method Machine::sleep to sleep N seconds in virtual (guest)
...
time rather than host real time.
svn path=/nixos/trunk/; revision=25491
2011-01-10 14:41:16 +00:00
Eelco Dolstra
8db3bdc4fc
* In VM tests, use acpi_pm as the clock source. This causes the guest
...
clock to slow down under high host load. This is usually a bad
thing, but for VM tests it should provide a bit more determinism
(e.g. if the VM runs at lower speed, then timeouts in the VM should
also be delayed).
svn path=/nixos/trunk/; revision=25490
2011-01-10 14:22:38 +00:00
Eelco Dolstra
ecaf1d9f08
* Using hpet no longer seems necessary. Maybe upstream fixed it.
...
svn path=/nixos/trunk/; revision=25489
2011-01-10 13:32:09 +00:00
Eelco Dolstra
7e3873f75e
* Use the dedicated server.
...
svn path=/nixos/trunk/; revision=25488
2011-01-10 12:25:13 +00:00
Eelco Dolstra
e09faf4bb3
* Handle the case where /tmp/coverage-data already exists.
...
svn path=/nixos/trunk/; revision=25486
2011-01-10 12:22:24 +00:00
Eelco Dolstra
8f831338df
* Log top-level errors.
...
svn path=/nixos/trunk/; revision=25482
2011-01-09 22:52:27 +00:00
Eelco Dolstra
261430df54
* Flush the coverage data by doing a shutdown.
...
svn path=/nixos/trunk/; revision=25481
2011-01-09 22:33:21 +00:00
Eelco Dolstra
ef82cd9c48
* Coverage report: propagate the build products of the VM test run.
...
* Run the Quake 3 with coverage instrumentation.
svn path=/nixos/trunk/; revision=25480
2011-01-09 22:21:22 +00:00
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