about summary refs log tree commit diff
path: root/tests/gc-concurrent.nix.in
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2005-01-28T20·36+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2005-01-28T20·36+0000
commita7668411a10c79ad40c9c18caf2570d5c9f52182 (patch)
treeeb4ea7eda7ac760e4933aba439bebb08b9ba2a71 /tests/gc-concurrent.nix.in
parent22cfdfa2460921a282fc924cce5fb26378b9fc9d (diff)
* Add a test to check whether concurrent garbage collection (i.e.,
  running the collector while builds are in progress) works
  correctly.  The test currently fails.

Diffstat (limited to 'tests/gc-concurrent.nix.in')
-rw-r--r--tests/gc-concurrent.nix.in25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/gc-concurrent.nix.in b/tests/gc-concurrent.nix.in
new file mode 100644
index 000000000000..0d62849bc52f
--- /dev/null
+++ b/tests/gc-concurrent.nix.in
@@ -0,0 +1,25 @@
+let {
+
+  input1 = derivation {
+    name = "dependencies-input-1";
+    system = "@system@";
+    builder = "@shell@";
+    args = ["-e" "-x" ./dependencies.builder1.sh];
+  };
+
+  input2 = derivation {
+    name = "dependencies-input-2";
+    system = "@system@";
+    builder = "@shell@";
+    args = ["-e" "-x" ./dependencies.builder2.sh];
+  };
+
+  body = derivation {
+    name = "gc-concurrent";
+    system = "@system@";
+    builder = "@shell@";
+    args = ["-e" "-x" ./gc-concurrent.builder.sh];
+    inherit input1 input2;
+  };
+
+}
\ No newline at end of file