Skip to content

Commit

Permalink
qa: add 276 guard for QT env var, causing some hangs
Browse files Browse the repository at this point in the history
Was fine on some platforms, triggering QA watchdog on others
so increase the level of protection for those (older) cases.
  • Loading branch information
natoscott committed Jul 11, 2024
1 parent a3cd10c commit 6a37071
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion qa/276
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,15 @@ trap "rm -rf $tmp $tmp.*; _clean_display; exit \$status" 0 1 2 3 15
if [ -z "$DISPLAY" ]
then
export DISPLAY=$PCPQA_CLOSE_X_SERVER
PCP_STDERR=$tmp.stderr QT_QPA_PLATFORM=offscreen pmchart --help >/dev/null 2>&1
if [ -s $tmp.stderr ]
then
if grep 'Usage: pmchart' $tmp.stderr >/dev/null
then
export QT_QPA_PLATFORM=offscreen
fi
fi
fi
export QT_QPA_PLATFORM=offscreen

src/grind-tools -v -a archives/fcsw_indom fcsw.port.bytes_out 2>>$seq.full \
| _filter_views
Expand Down

0 comments on commit 6a37071

Please sign in to comment.