Fix #777: don't parse .suffix if <stage> is provided.

Adding a test for this also uncovered an extraneous \r in the runtests script,
fixed now.
This commit is contained in:
John Kessenich
2017-03-16 11:20:38 -06:00
parent 26013595fd
commit e751bca75c
5 changed files with 54 additions and 20 deletions

View File

@@ -66,4 +66,18 @@ else
echo Tests Failed.
fi
#
# Testing -S
#
echo Running explicit stage test
$EXE -i -S vert nosuffix > $TARGETDIR/nosuffix.out
diff -b $BASEDIR/nosuffix.out $TARGETDIR/nosuffix.out || HASERROR=1
if [ $HASERROR -eq 0 ]
then
echo Tests Succeeded.
else
echo Tests Failed.
fi
exit $HASERROR