]> rtime.felk.cvut.cz Git - omk.git/commitdiff
test: Add check for cygpath command which is needed for testing keil16x rules
authorMichal Sojka <sojkam1@fel.cvut.cz>
Sat, 12 Mar 2011 15:15:04 +0000 (16:15 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Sat, 12 Mar 2011 16:07:40 +0000 (17:07 +0100)
tests/wvtest.sh

index 5c112228c3af77814cd67c08be632e40c3aa9ae2..2a8d1d56066e8a5c5d4d82cf6beb280ae0b84a24 100644 (file)
@@ -149,6 +149,11 @@ needs_valid_CC()
        echo "Warning: '$CC' not found - skipping the test"
        exit 0
     fi
+
+    if [[ $OMK_RULES = sysless-keil16x ]] && ! which cygpath; then
+       echo "Warning: cygpath command not found - skipping the test"
+       exit 0
+    fi
 }
 
 OMK_TESTSROOT=${OMK_TESTSROOT:-$(readlink --canonicalize $(dirname $0))}