scripts: Add a simple trybot driver

Basic script that may prove useful to others to send a pile of patches
to intel-gfx-trybot@

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2016-04-22 08:25:04 +01:00
parent de4f3ab418
commit ea7dac11b7
2 changed files with 14 additions and 2 deletions

View File

@ -1,3 +1,2 @@
dist_noinst_SCRIPTS = who.sh run-tests.sh
dist_noinst_SCRIPTS = intel-gfx-trybot who.sh run-tests.sh
noinst_PYTHON = throttle.py

13
scripts/intel-gfx-trybot Executable file
View File

@ -0,0 +1,13 @@
#!/bin/sh
COMMIT=$1
INTEL=intel
DIN=${INTEL}/drm-intel-nightly
git fetch ${INTEL}
git merge-base --is-ancestor ${DIN} ${COMMIT} || {
echo Tree is out of date
exit 1
}
git send-email --to intel-gfx-trybot@lists.freedesktop.org --suppress-cc=all ${DIN}..${COMMIT}