about summary refs log tree commit diff
path: root/tests/build-hook.hook.sh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-10-23T18·43+0200
committerEelco Dolstra <edolstra@gmail.com>2017-10-23T18·50+0200
commit37fbfffd8e23cf9ca4038e6c4145583a811e91aa (patch)
tree4605d5cdd90bd1a9c5e796278bd40b0acb3ad93c /tests/build-hook.hook.sh
parentf32cdc4fab1bff919c3d074a95e32a9934eb7386 (diff)
Pass all settings to build-remote
This ensures that command line flags such as --builders get passed
correctly.
Diffstat (limited to 'tests/build-hook.hook.sh')
-rwxr-xr-xtests/build-hook.hook.sh23
1 files changed, 0 insertions, 23 deletions
diff --git a/tests/build-hook.hook.sh b/tests/build-hook.hook.sh
deleted file mode 100755
index c7472eab7600..000000000000
--- a/tests/build-hook.hook.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#! /bin/sh
-
-#set -x
-
-while read x y drv rest; do
-
-    echo "HOOK for $drv" >&2
-
-    outPath=`sed 's/Derive(\[("out",\"\([^\"]*\)\".*/\1/' $drv`
-
-    echo "output path is $outPath" >&2
-
-    if `echo $outPath | grep -q input-1`; then
-        echo "# accept" >&2
-        read inputs
-        read outputs
-        mkdir $outPath
-        echo "BAR" > $outPath/foo
-    else
-        echo "# decline" >&2
-    fi
-
-done