]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - contrib/reghunt/bin/gcc-svn-checkfail
Imported gcc-4.4.3
[msp430-gcc.git] / contrib / reghunt / bin / gcc-svn-checkfail
diff --git a/contrib/reghunt/bin/gcc-svn-checkfail b/contrib/reghunt/bin/gcc-svn-checkfail
new file mode 100755 (executable)
index 0000000..3877a06
--- /dev/null
@@ -0,0 +1,9 @@
+#! /bin/sh
+
+# Given an identifier that is an index into the current patch list,
+# return 1 if the corresponding SVN revision number is in the list of
+# known failures, 0 otherwise.
+
+ID=$1
+REV=`${REG_IDS} -f index -t rev ${ID}`
+grep -q "^${REV}$" ${REG_FAILLIST}