mirror of
				https://github.com/tiagovignatti/intel-gpu-tools.git
				synced 2025-11-04 03:58:27 +00:00 
			
		
		
		
	This way the testsuit automatically fails if we hit a DRM_ERROR or a WARN/BUG somewhere. ... i.e. this is the Jesse Barnes catcher ... Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
		
			
				
	
	
		
			12 lines
		
	
	
		
			215 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			215 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/sh
 | 
						|
 | 
						|
if dmesg | grep '\*ERROR\*'  > /dev/null ; then
 | 
						|
	echo "DRM_ERROR dirt in dmesg"
 | 
						|
	exit 1
 | 
						|
fi
 | 
						|
 | 
						|
if dmesg | grep -- '------\[ cut here \]----' > /dev/null  ; then
 | 
						|
	echo "found a backtrace in dmesg"
 | 
						|
	exit 1
 | 
						|
fi
 |