aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.7/contrib/reghunt/bin/gcc-svn-checkfail
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.7/contrib/reghunt/bin/gcc-svn-checkfail')
-rwxr-xr-xgcc-4.7/contrib/reghunt/bin/gcc-svn-checkfail9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc-4.7/contrib/reghunt/bin/gcc-svn-checkfail b/gcc-4.7/contrib/reghunt/bin/gcc-svn-checkfail
new file mode 100755
index 000000000..3877a062b
--- /dev/null
+++ b/gcc-4.7/contrib/reghunt/bin/gcc-svn-checkfail
@@ -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}