Merge pull request #297 from antiagainst/config-tests

Test compiling shaders with given resource limits using GTest.
This commit is contained in:
John Kessenich
2016-05-20 13:46:31 -06:00
10 changed files with 334 additions and 211 deletions

View File

@@ -22,3 +22,7 @@ ERROR: 0:65: 'limitations' : Non-constant-index-expression
ERROR: 20 compilation errors. No code generated.
Linked vertex stage:

View File

@@ -14,7 +14,7 @@ $EXE -c > $TARGETDIR/test.conf
diff -b $BASEDIR/test.conf $TARGETDIR/test.conf || HASERROR=1
$EXE -i -l $TARGETDIR/test.conf specExamples.vert > $TARGETDIR/specExamples.vert.out
diff -b $BASEDIR/specExamples.vert.out $TARGETDIR || HASERROR=1
$EXE 100Limits.vert 100.conf > $TARGETDIR/100LimitsConf.vert.out
$EXE -l 100Limits.vert 100.conf > $TARGETDIR/100LimitsConf.vert.out
diff -b $BASEDIR/100LimitsConf.vert.out $TARGETDIR/100LimitsConf.vert.out || HASERROR=1
#