Tests: Add usage and tests for previous commit.

This commit is contained in:
John Kessenich
2018-04-17 17:44:11 -06:00
parent fccbb8b40a
commit 2ead40ffa8
6 changed files with 60 additions and 2 deletions

View File

@@ -74,11 +74,15 @@ else
fi
#
# Testing -S
# Testing -S and compound suffixes
#
echo Running explicit stage test
echo Running explicit stage test and compound suffix tests
$EXE -i -S vert nosuffix > $TARGETDIR/nosuffix.out
diff -b $BASEDIR/nosuffix.out $TARGETDIR/nosuffix.out || HASERROR=1
$EXE -i compoundsuffix.vert.glsl > $TARGETDIR/compoundsuffix.vert.glsl
diff -b $BASEDIR/compoundsuffix.vert.glsl $TARGETDIR/compoundsuffix.vert.glsl || HASERROR=1
$EXE -D -e main -H compoundsuffix.frag.hlsl > $TARGETDIR/compoundsuffix.frag.hlsl
diff -b $BASEDIR/compoundsuffix.frag.hlsl $TARGETDIR/compoundsuffix.frag.hlsl || HASERROR=1
#
# Testing --hlsl-offsets