From ea7dac11b736df2292fdaf112d157937546adf5f Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 22 Apr 2016 08:25:04 +0100 Subject: 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 --- scripts/intel-gfx-trybot | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 scripts/intel-gfx-trybot (limited to 'scripts/intel-gfx-trybot') diff --git a/scripts/intel-gfx-trybot b/scripts/intel-gfx-trybot new file mode 100755 index 00000000..69373b28 --- /dev/null +++ b/scripts/intel-gfx-trybot @@ -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} -- cgit v1.2.3