Projet_SETI_RISC-V/riscv-gnu-toolchain/gcc/contrib/reghunt/bin/gcc-svn-checkfail
2023-03-06 14:48:14 +01:00

9 lines
262 B
Bash
Executable file

#! /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}