From 5705a551617d10e8c218b0f20f89ff073365c5e9 Mon Sep 17 00:00:00 2001 From: Sergey Bylokhov Date: Thu, 13 Feb 2020 13:23:31 -0800 Subject: [PATCH] 8233827: Enable screenshots in the enhanced failure handler on Linux/macOS Reviewed-by: iignatyev --- test/failure_handler/src/share/conf/linux.properties | 6 +++++- test/failure_handler/src/share/conf/mac.properties | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/test/failure_handler/src/share/conf/linux.properties b/test/failure_handler/src/share/conf/linux.properties index bb7eef38d12..3f6a363bc27 100644 --- a/test/failure_handler/src/share/conf/linux.properties +++ b/test/failure_handler/src/share/conf/linux.properties @@ -68,7 +68,8 @@ environment=\ memory.vmstat.slabinfo memory.vmstat.disk \ files \ locks \ - net.sockets net.statistics net.ifconfig + net.sockets net.statistics net.ifconfig \ + screenshot ################################################################################ users.current.app=id users.current.args=-a @@ -109,5 +110,8 @@ net.statistics.app=netstat net.statistics.args=-sv net.ifconfig.app=ifconfig net.ifconfig.args=-a + +screenshot.app=gnome-screenshot +screenshot.args= -f screen.png ################################################################################ diff --git a/test/failure_handler/src/share/conf/mac.properties b/test/failure_handler/src/share/conf/mac.properties index 401901610fd..1b899a5717e 100644 --- a/test/failure_handler/src/share/conf/mac.properties +++ b/test/failure_handler/src/share/conf/mac.properties @@ -76,7 +76,8 @@ environment=\ memory.vmstat \ files \ net.netstat.av net.netstat.aL net.netstat.m net.netstat.s net.ifconfig \ - scutil.nwi scutil.proxy + scutil.nwi scutil.proxy \ + screenshot ################################################################################ users.current.app=id users.current.args=-a @@ -115,4 +116,7 @@ net.ifconfig.args=-a scutil.app=scutil scutil.nwi.args=--nwi scutil.proxy.args=--proxy + +screenshot.app=screencapture +screenshot.args= -x screen1.png screen2.png screen3.png screen4.png screen5.png ################################################################################