Commit Graph
43498 Commits
Author SHA1 Message Date
Eelco Dolstra e7acca2ba3 * Cleanup the kernel coverage analysis.
svn path=/nixos/trunk/; revision=16919
2009-09-01 22:50:46 +00:00
Michael Raskin 3d7152db82 Fix /sbin/ reference. On Linux just replace it with an "ip link" reference
svn path=/nixpkgs/trunk/; revision=16918
2009-09-01 22:42:05 +00:00
Eelco Dolstra 4d8d704fba * Run the subversion.nix test with coverage analysis on the kernel.
svn path=/nixos/trunk/; revision=16917
2009-09-01 22:22:45 +00:00
Eelco Dolstra 58e6161768 * addCoverageInstrumentation: factor out the code that keeps the build
tree under $out into a separate stdenv adapter named keepBuildTree.
* makeModulesClosure: support building an initrd for a kernel that has
  been compiled with coverage instrumentation.

svn path=/nixpkgs/trunk/; revision=16916
2009-09-01 21:56:46 +00:00
Michael Raskin 043fe38f80 Enable some features in gvpe
svn path=/nixpkgs/trunk/; revision=16915
2009-09-01 21:00:34 +00:00
Michael Raskin ef6a270501 Adding GVPE - a protected virtual multinode ethernet
svn path=/nixpkgs/trunk/; revision=16913
2009-09-01 20:12:01 +00:00
Ludovic Courtès b6a12ac090 GraphViz for AutoDia.
svn path=/nixpkgs/trunk/; revision=16912
2009-09-01 14:48:47 +00:00
Ludovic Courtès 62dc1d45f5 Add Inline' and Inline::Java'; fix Autodia.
svn path=/nixpkgs/trunk/; revision=16911
2009-09-01 14:36:10 +00:00
Rob Vermaas f016a6bcbc * stratego-mode for emacs
svn path=/nixpkgs/trunk/; revision=16910
2009-09-01 14:27:24 +00:00
Ludovic Courtès 0dc8e1418e Add Autodia.
svn path=/nixpkgs/trunk/; revision=16909
2009-09-01 13:59:37 +00:00
Michael Raskin 42027eee24 Reverting the hack
svn path=/nixpkgs/trunk/; revision=16907
2009-09-01 07:56:35 +00:00
Michael Raskin bdcdfbadea Temporary hack to check whether Hydra actually uses fresh Nix.
svn path=/nixpkgs/trunk/; revision=16906
2009-09-01 07:51:29 +00:00
Eelco Dolstra 2c5599f59b * Urgh, cleanSource doesn't work on paths in the store. Looks like a
bug.

svn path=/nixos/trunk/; revision=16905
2009-08-31 15:12:42 +00:00
Eelco Dolstra 61acec5361 * Use makeOverridable for a few packages used in the Subversion
coverage test, and inherit from pkgsOverriden.  This is really
  ugly.  Should think hard about how to do this in a cleaner way.

svn path=/nixpkgs/trunk/; revision=16904
2009-08-31 15:03:31 +00:00
Eelco Dolstra 086dd25510 * Use --coverage, which is identical to -fprofile-arcs -ftest-coverage.
svn path=/nixpkgs/trunk/; revision=16903
2009-08-31 15:02:27 +00:00
Eelco Dolstra 54a5ad0c6f * Hacked up a patch to let lcov find source files referenced by a
path relative to some arbitrary parent of the .gcno file.  For
  instance, this happens when building Subversion with coverage.

svn path=/nixpkgs/trunk/; revision=16902
2009-08-31 15:02:01 +00:00
Eelco Dolstra 9359bf11d5 * Build the Subversion test in Hydra (as a regression test for NixOS).
* Pass the location to the services tree around instead of requiring
  it to be in ../services.

svn path=/nixos/trunk/; revision=16901
2009-08-31 14:56:19 +00:00
Eelco Dolstra a2945a2eb2 svn path=/nixos/trunk/; revision=16900 2009-08-31 14:26:31 +00:00
Eelco Dolstra 27a8e656bc * Stuff for automatic and manual testing of NixOS VMs.
lib/build-vms.nix contains a function `buildVirtualNetwork' that
  takes a specification of a network of machines (as an attribute set
  of NixOS machine configurations) and builds a script that starts
  each configuration in a separate QEMU/KVM VM and connects them
  together in a virtual network.  This script can be run manually to
  test the VMs interactively.  There is also a function `runTests'
  that starts and runs the virtual network in a derivation, and
  then executes a test specification that tells the VMs to do certain
  things (i.e., letting one VM send an HTTP request to a webserver on
  another VM).  The tests are written in Perl (for now).

  tests/subversion.nix shows a simple example, namely a network of two
  machines: a webserver that runs the Subversion subservice, and a
  client.  Apache, Subversion and a few other packages are built with
  coverage analysis instrumentation.  For instance,

    $ nix-build tests/subversion.nix -A vms
    $ ./result/bin/run-vms

  starts two QEMU/KVM instances.  When they have finished booting, the
  webserver can be accessed from the host through
  http://localhost:8081/.

  It also has a small test suite:

    $ nix-build tests/subversion.nix -A report

  This runs the VMs in a derivation, runs the tests, and then produces
  a distributed code coverage analysis report (i.e. it shows the
  combined coverage on both machines).

  The Perl test driver program is in lib/test-driver.  It executes
  commands on the guest machines by connecting to a root shell running
  on port 514 (provided by modules/testing/test-instrumentation.nix).

  The VMs are connected together in a virtual network using QEMU's
  multicast feature.  This isn't very secure.  At the very least,
  other processes on the same machine can listen to or send packets on
  the virtual network.  On the plus side, we don't need to be root to
  set up a multicast virtual network, so we can do it from a
  derivation.  Maybe we can use VDE instead.

  (Moved from the vario repository.)

svn path=/nixos/trunk/; revision=16899
2009-08-31 14:25:12 +00:00
Eelco Dolstra a7001d34d7 * Oops, didn't want to commit that.
svn path=/nixos/trunk/; revision=16898
2009-08-31 13:46:56 +00:00
Eelco Dolstra 921b838149 * test -> tests.
svn path=/nixos/trunk/; revision=16897
2009-08-31 13:40:57 +00:00
Michael Raskin 11e09ffad1 Adding GlusterFS - a distributed storage system
svn path=/nixpkgs/trunk/; revision=16896
2009-08-31 09:52:01 +00:00
Sander van der Burg 4a0be54df0 Added subversion python modules to the PYTHONPATH
svn path=/nixos/trunk/; revision=16895
2009-08-30 19:45:15 +00:00
Sander van der Burg 8fd9fa36c4 Added an initial Trac subservice. Trac projects still have to be created by using the trac-admin tool
svn path=/nixos/trunk/; revision=16894
2009-08-30 19:11:47 +00:00
Sander van der Burg dd25b49bfa Added setuptools as propagated buildInput for Trac
svn path=/nixpkgs/trunk/; revision=16893
2009-08-30 17:28:26 +00:00
Sander van der Burg f51dd41ff1 Implemented Trac python package and dependencies
svn path=/nixpkgs/trunk/; revision=16892
2009-08-30 13:43:35 +00:00
Eelco Dolstra 7f8272dd70 * Make the host filesystem writable for non-root. This is a temporary
hack to enable non-root processes to write coverage data.

svn path=/nixos/trunk/; revision=16891
2009-08-29 14:14:42 +00:00
Eelco Dolstra 0fd5ed507e * A stdenv adapter to build a package with coverage instrumentation.
svn path=/nixpkgs/trunk/; revision=16890
2009-08-28 16:45:56 +00:00
Eelco Dolstra df5cd8776a * Apache 2.2.13.
svn path=/nixpkgs/trunk/; revision=16889
2009-08-28 16:05:48 +00:00
Eelco Dolstra 024c82ee04 * lcov 1.7.
svn path=/nixpkgs/trunk/; revision=16888
2009-08-28 14:11:09 +00:00
Michael Raskin 3a993e2f8e Fixing typos
svn path=/nixpkgs/trunk/; revision=16887
2009-08-28 07:07:55 +00:00
Michael Raskin 8bdc1503c1 Put the meta-based choice in suspended state to be used automatically when tryEval is available
svn path=/nixpkgs/trunk/; revision=16886
2009-08-28 07:00:40 +00:00
Michael Raskin 3e89d56999 Trying meta-based selection again
svn path=/nixpkgs/trunk/; revision=16885
2009-08-28 06:57:08 +00:00
Michael Raskin d0443c07fc Temporarily removing by-meta build and updating Nix..
svn path=/nixpkgs/trunk/; revision=16884
2009-08-28 06:37:05 +00:00
Michael Raskin d109e4cd95 Trying to reinstate the meta-based Hydra builds
svn path=/nixpkgs/trunk/; revision=16883
2009-08-28 06:29:21 +00:00
Marc Weber 08d98a9972 Revert "mod-python unfinished"
reverting -r 16808 (unfinished mod_python). Sth working does already exist

svn path=/nixpkgs/trunk/; revision=16882
2009-08-27 23:46:15 +00:00
Marc Weber 8ff2647169 adding gutenprint (former gimp-print) and gutenprintBin. I still haven't
found the source of the binary package containing the .ppd files
Still impure but works. See comment.

svn path=/nixpkgs/trunk/; revision=16881
2009-08-27 23:32:13 +00:00
Marc Weber bc8a85288d cups-bjnp driver
svn path=/nixpkgs/trunk/; revision=16880
2009-08-27 23:32:10 +00:00
Marc Weber 39e12e13c4 cupsd: add bindirCmds so that you can test other backends easier.
svn path=/nixos/trunk/; revision=16879
2009-08-27 23:16:09 +00:00
Eelco Dolstra 2892aed712 * lib/eval-config.nix: combined "configuration" and "extraModules"
into one argument "modules".
* release.nix: fixed the manual job.
* ISO generation: break an infinite recursion.  Don't know why this
  suddenly happens.  Probably because of the nixpkgs.config change,
  but I don't see why.  Maybe the option evaluation is too strict.

svn path=/nixos/trunk/; revision=16878
2009-08-27 11:57:43 +00:00
Michael Raskin a1ea759dd9 Adding libev - an even loop library remotely similar to libevent
svn path=/nixpkgs/trunk/; revision=16877
2009-08-27 07:17:57 +00:00
Andres Löh 39b651fb44 Added scion.
svn path=/nixpkgs/trunk/; revision=16876
2009-08-27 07:01:48 +00:00
Andres Löh 543483d99f Added mkcabal.
svn path=/nixpkgs/trunk/; revision=16875
2009-08-27 06:35:17 +00:00
Eelco Dolstra d22e36efe0 * Grrrr... I should go home.
svn path=/nixpkgs/trunk/; revision=16874
2009-08-26 17:36:41 +00:00
Eelco Dolstra 978b1ce09d * Oop.s
svn path=/nixpkgs/trunk/; revision=16873
2009-08-26 17:32:41 +00:00
Eelco Dolstra 179c8c9ae6 * Disable for now.
svn path=/nixpkgs/trunk/; revision=16872
2009-08-26 17:23:23 +00:00
Eelco Dolstra 54207c7ce2 * Get rid of more old Compiz versions.
svn path=/nixpkgs/trunk/; revision=16871
2009-08-26 17:17:01 +00:00
Eelco Dolstra ca13d6918e * As predicted, returning {} if a package isn't supported on a
platform won't work: nix-env -qa barfs with "error: cannot coerce an
  attribute set (except a derivation) to a string".  So throw an error
  instead.  Anyway, condPackage/platformPackage doesn't belong in
  all-packages.nix (it should be specified in the package itself).

svn path=/nixpkgs/trunk/; revision=16870
2009-08-26 17:14:08 +00:00
Eelco Dolstra 5977d741b8 svn path=/nixpkgs/trunk/; revision=16869 2009-08-26 17:09:02 +00:00
Eelco Dolstra 9358ffa39c * Get rid of some old Compiz versions.
svn path=/nixpkgs/trunk/; revision=16868
2009-08-26 17:04:15 +00:00