mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-23 14:23:03 +00:00
tests: add ZZ_check_dmesg
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>
This commit is contained in:
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user