From d0108cd95103e1bb1f1e27458ff1718a2f817a47 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 9 Jan 2011 22:01:18 +0000 Subject: [PATCH] * Set GCOV_PREFIX for all Upstart jobs. svn path=/nixos/trunk/; revision=25479 --- modules/testing/test-instrumentation.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/testing/test-instrumentation.nix b/modules/testing/test-instrumentation.nix index 610d5fcc8321..24fc1a816597 100644 --- a/modules/testing/test-instrumentation.nix +++ b/modules/testing/test-instrumentation.nix @@ -32,7 +32,6 @@ in export USER=root export HOME=/root export DISPLAY=:0.0 - export GCOV_PREFIX=/tmp/coverage-data source /etc/profile cd /tmp echo "connecting to host..." > /dev/ttyS0 @@ -91,6 +90,8 @@ in message = "VM tests require that the kernel has the CIFS timeout patch."; } ]; + + system.upstartEnvironment.GCOV_PREFIX = "/tmp/coverage-data"; };