From 6f825c2a0601213c62fffc4cf07d11711d2c9345 Mon Sep 17 00:00:00 2001 From: sendaoYan Date: Wed, 18 Sep 2024 10:58:25 +0800 Subject: [PATCH] =?UTF-8?q?generatePlotPNG=E5=87=BD=E6=95=B0=E9=87=8C?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=88=A4=E6=96=AD${TESTSRC}/plot.gp=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E6=98=AF=E5=90=A6=E5=AD=98=E5=9C=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jtreg/compiler/codecache/stress/CodecacheMemoryCheck.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/hotspot/jtreg/compiler/codecache/stress/CodecacheMemoryCheck.sh b/test/hotspot/jtreg/compiler/codecache/stress/CodecacheMemoryCheck.sh index 7acac2dbebb..c4822d29a28 100755 --- a/test/hotspot/jtreg/compiler/codecache/stress/CodecacheMemoryCheck.sh +++ b/test/hotspot/jtreg/compiler/codecache/stress/CodecacheMemoryCheck.sh @@ -174,6 +174,10 @@ generatePlotPNG() echo "echo plot-data directory not exist!" return fi + if [[ ! -f ${TESTSRC}/plot.gp ]] ; then + echo "${TESTSRC}/plot.gp not exists!" + return + fi if ! which gnuplot ; then echo please install gnuplot command! return