Skip to content

Commit

Permalink
tests: Silence superlinter
Browse files Browse the repository at this point in the history
  • Loading branch information
terryburton committed Jan 7, 2024
1 parent d4b5711 commit b1d6217
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/ps_tests/run
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ fi

if gs -dBATCH -dNODISPLAY -dQUIET -c '401 string { dup } forall count =' | grep -qFx 800; then
STRING_CONTINUE_BUG=-dSTRING_CONTINUE_BUG
else
STRING_CONTINUE_BUG=-dNO_STRING_CONTINUE_BUG
fi

if OUT=$(cd build/packaged_resource/Resource && gs -sNOSAFER -dNOPAUSE -dBATCH -sDEVICE=nullpage $STRING_CONTINUE_BUG -P ../../../"$TEST"/test.ps 2>&1); then
if OUT=$(cd build/packaged_resource/Resource && gs -sNOSAFER -dNOPAUSE -dBATCH -sDEVICE=nullpage "$STRING_CONTINUE_BUG" -P ../../../"$TEST"/test.ps 2>&1); then
if echo "$OUT" | grep -qFx 'PASS'; then
echo "PASS"
exit 0
Expand Down

0 comments on commit b1d6217

Please sign in to comment.