summaryrefslogtreecommitdiffstats
path: root/bin/chroot-run.sh
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2014-04-18 17:35:58 +0200
committerHolger Levsen <holger@layer-acht.org>2014-04-25 13:08:02 +0200
commit372b9588600ef381655bce4146913720aff7dc97 (patch)
tree82fb339130afc4c121697135053753d4ad54ab8e /bin/chroot-run.sh
parent3960e1eaa2b8456110feecac52982fb16e0e0a1b (diff)
downloadjenkins.debian.net-372b9588600ef381655bce4146913720aff7dc97.tar.xz
haskell-package-plan: Enable graphs
This requires a small hack in chroot-run.sh.
Diffstat (limited to 'bin/chroot-run.sh')
-rwxr-xr-xbin/chroot-run.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/chroot-run.sh b/bin/chroot-run.sh
index d4f6decd..eb5ded73 100755
--- a/bin/chroot-run.sh
+++ b/bin/chroot-run.sh
@@ -104,6 +104,14 @@ $@
EOF
chmod +x $CHROOT_TARGET/tmp/chroot-testrun
sudo chroot $CHROOT_TARGET /tmp/chroot-testrun
+
+ # hack to get data out of the chroot (might be dropped when
+ # haskell-package-plan uses schroot, which will bindmount the current
+ # directory in the schroot)
+ if [ -e $CHROOT_TARGET/tmp/testrun/stats.csv ]
+ then
+ cp -v $CHROOT_TARGET/tmp/testrun/stats.csv .
+ fi
}
bootstrap