summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com>2010-09-02 17:01:23 +0200
committerDiego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com>2010-09-02 17:01:23 +0200
commit43fe5acde6e5fa8ad08fb657be823f57627e04f0 (patch)
tree3257fe44ee104dc0353e50b34dd0050d56cba06e /tinderbox-continuous.sh
parentUse bti --background for sending out the dents (reduces latency between merges). (diff)
downloadflameeyes-tinderbox-43fe5acde6e5fa8ad08fb657be823f57627e04f0.tar.gz
flameeyes-tinderbox-43fe5acde6e5fa8ad08fb657be823f57627e04f0.tar.bz2
flameeyes-tinderbox-43fe5acde6e5fa8ad08fb657be823f57627e04f0.zip
Add a script to continuously run the tinderbox without halting it for restarts.
Diffstat (limited to 'tinderbox-continuous.sh')
-rwxr-xr-xtinderbox-continuous.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/tinderbox-continuous.sh b/tinderbox-continuous.sh
new file mode 100755
index 0000000..2b88378
--- /dev/null
+++ b/tinderbox-continuous.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+tboxdir=$(dirname $0)
+
+until [ -e /var/run/tinderbox.pleasestop ]; do
+ ${tboxdir}/tinderbox-restart.sh
+
+ head -n 200 /var/cache/tinderbox/queue | xargs -n1 ${tboxdir}/emerge-wrapper.sh
+done