Skip tests on OSX

pull/13/head
nirenjan 2017-07-29 10:07:12 -07:00
parent 0a45bd5ddf
commit 991218a8b0
1 changed files with 6 additions and 0 deletions

View File

@ -52,6 +52,12 @@ X52_LED_THROTTLE_OFF=1400
find_programs()
{
# Tests and distcheck do not work on OSX, skip the tests
if [[ `uname -s` == [Dd]arwin* ]]
then
exit $EXIT_SKIP
fi
# Find the X52cli script
X52CLI=$(find .. -path '*/cli/x52cli' -executable)