3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

22 commits

Author SHA1 Message Date
Eelco Dolstra 17457297cb Update all legacy-style modules
I.e., modules that use "require = [options]".  Nowadays that should be
written as

  {
    options = { ... };
    config = { ... };
  };

Also, use "imports" instead of "require" in places where we actually
import another module.
2013-09-04 13:05:09 +02:00
Eelco Dolstra b83a3987c5 Include all of KDE in the KDE test 2013-07-17 14:54:25 +02:00
Eelco Dolstra e962c62162 Give more memory to the KDE test
http://hydra.nixos.org/build/5499387
2013-07-09 15:16:04 +02:00
Eelco Dolstra ecd7bc9310 Tests: global search/replace of obsolete functions 2012-10-24 18:22:53 +02:00
Peter Simons eb6e1310b8 strip trailing whitespace; no functional change
svn path=/nixos/trunk/; revision=29285
2011-09-14 18:20:50 +00:00
Eelco Dolstra c52aeacf1a * Factor out some test commonality.
svn path=/nixos/trunk/; revision=26394
2011-03-17 14:04:47 +00:00
Eelco Dolstra b1b36ec510 * KDM seems to die if we call xwininfo while it's starting (!). So
don't do that.

svn path=/nixos/trunk/; revision=26307
2011-03-15 07:23:37 +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 ea1ba40374 svn path=/nixos/trunk/; revision=23056 2010-08-09 11:58:26 +00:00
Eelco Dolstra a8aefffa09 * Test whether logging into X assigns device ownership properly.
svn path=/nixos/trunk/; revision=20486
2010-03-09 11:43:56 +00:00
Eelco Dolstra 5cc99487cb * A function to wait until a window exists.
svn path=/nixos/trunk/; revision=19246
2010-01-05 23:38:13 +00:00
Eelco Dolstra 8343b8b902 * More cleanups.
svn path=/nixos/trunk/; revision=19228
2010-01-05 11:57:17 +00:00
Eelco Dolstra 5af12b6afe * Provide a function for taking a screenshot.
svn path=/nixos/trunk/; revision=19225
2010-01-05 11:35:59 +00:00
Eelco Dolstra 51097933ab * Moved test-related stuff from lib/build-vms.nix to lib/testing.nix.
* Factored out some commonality between tests to make them a bit
  simpler to write.  A test is a function { pkgs, ... }: -> { nodes,
  testScript } or { machine, testScript }.  So it's no longer
  necessary to have a "vms" attribute in every test.

svn path=/nixos/trunk/; revision=19220
2010-01-05 11:18:43 +00:00
Eelco Dolstra 5730c27aed * For debugging, if $tests is not set, read commands from stdin.
svn path=/nixos/trunk/; revision=19210
2010-01-04 16:30:54 +00:00
Marc Weber 5cb52cc7cb nixos vms tests: use relative path to services, nixpkgs because this is more like to work if you don't put the repos in /etc/nixos/
svn path=/nixos/trunk/; revision=18330
2009-11-11 23:54:54 +00:00
Eelco Dolstra fc69e22e3a * Timing dependency is bad.
svn path=/nixos/trunk/; revision=16961
2009-09-04 15:33:21 +00:00
Eelco Dolstra 80eafedc16 svn path=/nixos/trunk/; revision=16959 2009-09-04 15:26:30 +00:00
Eelco Dolstra 3f65966653 * Test konqueror.
svn path=/nixos/trunk/; revision=16958
2009-09-04 15:02:52 +00:00
Eelco Dolstra 497760b444 * Use scrot to make screenshots.
* Another X11 test (running Quake 3).

svn path=/nixos/trunk/; revision=16949
2009-09-02 23:16:33 +00:00
Eelco Dolstra 6ee7ccf07f * Automatically log in using kdm.
svn path=/nixos/trunk/; revision=16941
2009-09-02 18:44:09 +00:00
Eelco Dolstra cddc93cc5e * Start of a simple GUI test. Right now it just starts the X server,
wait a few seconds and makes a screenshot.

svn path=/nixos/trunk/; revision=16934
2009-09-02 14:48:28 +00:00