Skip to content

Commit

Permalink
Skip some tests on old GS.
Browse files Browse the repository at this point in the history
  • Loading branch information
terryburton committed Nov 11, 2013
1 parent 0c0c657 commit de8d29c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_packaged_resource/run
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ TEST=$(dirname $0)

echo -n "Running $TEST: "

if gs --version | grep -q '^7\.'; then
echo "SKIPPED GS too old"
exit 0
fi

cd build/packaged_resource/Resource && gs -dNOPAUSE -dQUIET -dBATCH -sDEVICE=nullpage -P ../sample.ps

if [ $? -eq 0 ]; then
Expand Down
5 changes: 5 additions & 0 deletions tests/test_resource/run
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ TEST=$(dirname $0)

echo -n "Running $TEST: "

if gs --version | grep -q '^7\.'; then
echo "SKIPPED GS too old"
exit 0
fi

cd build/resource/Resource && gs -dNOPAUSE -dQUIET -dBATCH -sDEVICE=nullpage -P ../sample.ps

if [ $? -eq 0 ]; then
Expand Down

0 comments on commit de8d29c

Please sign in to comment.