travis: Test --help on osx.

This commit is contained in:
orbea 2019-10-07 16:22:04 -07:00 committed by Rafael Kitover
parent 36790074c3
commit 73a2450247
1 changed files with 3 additions and 4 deletions

View File

@ -59,11 +59,10 @@ script:
- make
- if [ "$BUILD_ENV" != libretro ]; then make install DESTDIR=/tmp/VBAM; fi
- |
if [ -n "$XVFB_RUN" ]; then
if [ "$BUILD_ENV" = mac ]; then
./$PRGNAM.app/Contents/MacOS/$PRGNAM --help
elif [ -n "$XVFB_RUN" ]; then
xvfb-run -a ./$PRGNAM --help
# TODO: --help crashes on OSX sometimes.
#elif [ "$BUILD_ENV" = mac ]; then
# ./$PRGNAM.app/Contents/MacOS/$PRGNAM --help
fi
env: