8240904: Screen flashes on test failures when running tests from make
Reviewed-by: erikj, serb
This commit is contained in:
parent
455eaca215
commit
59563a4ca9
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@ -111,7 +111,16 @@ net.statistics.args=-sv
|
|||||||
net.ifconfig.app=ifconfig
|
net.ifconfig.app=ifconfig
|
||||||
net.ifconfig.args=-a
|
net.ifconfig.args=-a
|
||||||
|
|
||||||
screenshot.app=gnome-screenshot
|
screenshot.app=bash
|
||||||
screenshot.args= -f screen.png
|
screenshot.args=-c\0\
|
||||||
|
echo '\
|
||||||
|
var robot = new java.awt.Robot();\
|
||||||
|
var ge = java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment();\
|
||||||
|
var bounds = ge.getDefaultScreenDevice().getDefaultConfiguration().getBounds();\
|
||||||
|
var capture = robot.createScreenCapture(bounds);\
|
||||||
|
var file = new java.io.File("screen.png");\
|
||||||
|
javax.imageio.ImageIO.write(capture, "png", file);\
|
||||||
|
' | jshell -
|
||||||
|
screenshot.args.delimiter=\0
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@ -118,5 +118,5 @@ scutil.nwi.args=--nwi
|
|||||||
scutil.proxy.args=--proxy
|
scutil.proxy.args=--proxy
|
||||||
|
|
||||||
screenshot.app=screencapture
|
screenshot.app=screencapture
|
||||||
screenshot.args= -x screen1.png screen2.png screen3.png screen4.png screen5.png
|
screenshot.args=-x screen1.png screen2.png screen3.png screen4.png screen5.png
|
||||||
################################################################################
|
################################################################################
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@ -64,7 +64,8 @@ environment=\
|
|||||||
system.dmesg system.prtconf system.sysdef \
|
system.dmesg system.prtconf system.sysdef \
|
||||||
process.ps process.top \
|
process.ps process.top \
|
||||||
memory.swap memory.vmstat.default memory.vmstat.statistics memory.pagesize \
|
memory.swap memory.vmstat.default memory.vmstat.statistics memory.pagesize \
|
||||||
net.netstat.av net.netstat.m net.netstat.s net.netstat.i net.ifconfig
|
net.netstat.av net.netstat.m net.netstat.s net.netstat.i net.ifconfig \
|
||||||
|
screenshot
|
||||||
################################################################################
|
################################################################################
|
||||||
# common unix
|
# common unix
|
||||||
################################################################################
|
################################################################################
|
||||||
@ -110,4 +111,16 @@ net.netstat.s.args=-s
|
|||||||
net.netstat.i.args=-i 1 5
|
net.netstat.i.args=-i 1 5
|
||||||
net.ifconfig.app=/sbin/ifconfig
|
net.ifconfig.app=/sbin/ifconfig
|
||||||
net.ifconfig.args=-a
|
net.ifconfig.args=-a
|
||||||
|
|
||||||
|
screenshot.app=bash
|
||||||
|
screenshot.args=-c\0\
|
||||||
|
echo '\
|
||||||
|
var robot = new java.awt.Robot();\
|
||||||
|
var ge = java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment();\
|
||||||
|
var bounds = ge.getDefaultScreenDevice().getDefaultConfiguration().getBounds();\
|
||||||
|
var capture = robot.createScreenCapture(bounds);\
|
||||||
|
var file = new java.io.File("screen.png");\
|
||||||
|
javax.imageio.ImageIO.write(capture, "png", file);\
|
||||||
|
' | jshell -
|
||||||
|
screenshot.args.delimiter=\0
|
||||||
################################################################################
|
################################################################################
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@ -71,7 +71,8 @@ environment=\
|
|||||||
memory.free memory.vmstat.default memory.vmstat.statistics \
|
memory.free memory.vmstat.default memory.vmstat.statistics \
|
||||||
memory.vmstat.slabinfo memory.vmstat.disk \
|
memory.vmstat.slabinfo memory.vmstat.disk \
|
||||||
files \
|
files \
|
||||||
net.sockets net.statistics net.ipconfig
|
net.sockets net.statistics net.ipconfig \
|
||||||
|
screenshot
|
||||||
################################################################################
|
################################################################################
|
||||||
users.current.app=id
|
users.current.app=id
|
||||||
users.current.args=-a
|
users.current.args=-a
|
||||||
@ -114,4 +115,16 @@ net.statistics.app=netstat
|
|||||||
net.statistics.args=-s -e
|
net.statistics.args=-s -e
|
||||||
net.ipconfig.app=ipconfig
|
net.ipconfig.app=ipconfig
|
||||||
net.ipconfig.args=/all
|
net.ipconfig.args=/all
|
||||||
|
|
||||||
|
screenshot.app=bash
|
||||||
|
screenshot.args=-c\0\
|
||||||
|
echo '\
|
||||||
|
var robot = new java.awt.Robot();\
|
||||||
|
var ge = java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment();\
|
||||||
|
var bounds = ge.getDefaultScreenDevice().getDefaultConfiguration().getBounds();\
|
||||||
|
var capture = robot.createScreenCapture(bounds);\
|
||||||
|
var file = new java.io.File(""screen.png"");\
|
||||||
|
javax.imageio.ImageIO.write(capture, ""png"", file);\
|
||||||
|
' | jshell -
|
||||||
|
screenshot.args.delimiter=\0
|
||||||
################################################################################
|
################################################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user