forked from OSchip/llvm-project
[flang] Throw error in case of missing listed test
Original-commit: flang-compiler/f18@dabc0ba0e0
This commit is contained in:
parent
004a4c577b
commit
2839cb3835
|
@ -63,6 +63,7 @@ function internal_check() {
|
|||
|
||||
gr=0
|
||||
for input in ${srcdir}/$*; do
|
||||
[[ ! -f $input ]] && die "File not found: $input"
|
||||
CMD=$(cat ${input} | egrep '^[[:space:]]*![[:space:]]*RUN:[[:space:]]*' | sed -e 's/^[[:space:]]*![[:space:]]*RUN:[[:space:]]*//')
|
||||
CMD=$(echo ${CMD} | sed -e "s:%s:${input}:g")
|
||||
if egrep -q -e '%t' <<< ${CMD} ; then
|
||||
|
|
Loading…
Reference in New Issue