Add bash script for running through all tests.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@20552 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
John Kessenich 2013-02-12 18:26:15 +00:00
parent 71fca670f3
commit aab251435b
2 changed files with 12 additions and 1 deletions

View File

@ -1 +0,0 @@
for /F "tokens=*" %%f in (testlist) do .\StandAlone.exe -i %%f

12
Test/runtests Normal file
View File

@ -0,0 +1,12 @@
#!/usr/bin/env bash
RUNCMD=../Build/Debug/glslang.exe
TARGETDIR=localout
BASEDIR=localbase
while read t; do
echo Running $t...
b=`basename $t`
./StandAlone -i $t > $TARGETDIR/$b.out
diff $BASEDIR/$b.out $TARGETDIR/$b.out
done < testlist