summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2016-10-14 12:52:00 +0300
committerJani Nikula <jani.nikula@intel.com>2016-10-14 13:19:12 +0300
commit230df2dc2ac60e30b76612ee6f1429f165323472 (patch)
tree01580adb60b2b44ce6d8ee71d5eb24d735657a97 /tests
parent171b21d9f761da5865f66cb55cbb5eb875a41b92 (diff)
tests: prefix IGT kernel log messages with [IGT]
Make the IGT logging stand out better and easier to grep. Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/drm_lib.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/drm_lib.sh b/tests/drm_lib.sh
index 113da4c7..1abc1580 100755
--- a/tests/drm_lib.sh
+++ b/tests/drm_lib.sh
@@ -20,12 +20,12 @@ kmsg() {
finish() {
exitcode=$?
- kmsg "$KERN_INFO$NAME: exiting, ret=$exitcode"
+ kmsg "${KERN_INFO}[IGT] $NAME: exiting, ret=$exitcode"
exit $exitcode
}
trap finish EXIT
-kmsg "$KERN_INFO$NAME: executing"
+kmsg "${KERN_INFO}[IGT] $NAME: executing"
skip() {
echo "$@"