about summary refs log tree commit diff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/fixdescriptors/aterm-2.0.fix10
-rwxr-xr-xtest/register19
2 files changed, 10 insertions, 19 deletions
diff --git a/test/fixdescriptors/aterm-2.0.fix b/test/fixdescriptors/aterm-2.0.fix
new file mode 100644
index 000000000000..0362314d6c3e
--- /dev/null
+++ b/test/fixdescriptors/aterm-2.0.fix
@@ -0,0 +1,10 @@
+Descr(
+  [ Bind("pkgId", Str("aterm-2.0"))
+  , Bind("releaseId", Str("1"))
+
+  , Bind("createGCC", Bool(True))
+
+  , Bind("src", File(Url("http://www.cwi.nl/projects/MetaEnv/aterm/aterm-2.0.tar.gz")))
+  , Bind("build", File(Local("../build/aterm-build.sh")))
+  ]
+)
\ No newline at end of file
diff --git a/test/register b/test/register
deleted file mode 100755
index 57fe5b6c0d01..000000000000
--- a/test/register
+++ /dev/null
@@ -1,19 +0,0 @@
-#! /bin/sh
-
-if test -z "$NIX"; then NIX=/nix; fi
-
-echo target $NIX
-
-if ! nix-instantiate $NIX/var/nix/descriptors $NIX/var/nix/sources tmpl/*.nix; then
-    exit 1;
-fi
-
-rm -f build/*~
-cp -p build/* $NIX/var/nix/sources
-
-for i in $NIX/var/nix/sources/*; do nix regfile $i; done
-
-for i in $NIX/var/nix/descriptors/*; do 
-    md5sum $i
-    nix regfile $i
-done