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:
		
							parent
							
								
									71fca670f3
								
							
						
					
					
						commit
						aab251435b
					
				@ -1 +0,0 @@
 | 
			
		||||
for /F "tokens=*" %%f in (testlist) do .\StandAlone.exe -i %%f
 | 
			
		||||
							
								
								
									
										12
									
								
								Test/runtests
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								Test/runtests
									
									
									
									
									
										Normal 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
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user