Skip to content

Commit

Permalink
generatePlotPNG函数里增加判断${TESTSRC}/plot.gp文件是否存在
Browse files Browse the repository at this point in the history
  • Loading branch information
sendaoYan committed Sep 18, 2024
1 parent 07f99dd commit 6f825c2
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6f825c2

Please sign in to comment.