ASTImportTest.sh: Fix the script ignoring all but the first file from a multi-source test when testing input equivalence

This commit is contained in:
Kamil Śliwak 2020-12-12 01:23:27 +01:00
parent 81668eb26a
commit f712662a66

View File

@ -98,7 +98,7 @@ do
NSOURCES=$((NSOURCES - 1)) NSOURCES=$((NSOURCES - 1))
for i in $OUTPUT; for i in $OUTPUT;
do do
testImportExportEquivalence $i $OUTPUT testImportExportEquivalence "$i" "$OUTPUT"
NSOURCES=$((NSOURCES + 1)) NSOURCES=$((NSOURCES + 1))
done done
elif [ ${SPLITSOURCES_RC} == 1 ] elif [ ${SPLITSOURCES_RC} == 1 ]