X-Git-Url: http://rtime.felk.cvut.cz/gitweb/omk.git/blobdiff_plain/4873684bca8488bcd2659981d5b1af4dca94254e..7e84f015a4d60391c33f29d55a944bee30f8b1da:/tests/programs-defs diff --git a/tests/programs-defs b/tests/programs-defs index cb28daa..3da2882 100755 --- a/tests/programs-defs +++ b/tests/programs-defs @@ -6,5 +6,7 @@ touch config.omk-default echo "DEFS=-DNUMBER=123" > config.omk needs_valid_CC make||error "Can't compile" -[ $OMK_RULES != linux ] && canttest "Should work only with Linux rules" -_compiled/bin/test|grep 123 || error "Variable DEFS didn't influence the output" +if [ $OMK_RULES = linux ]; then + # The following should work only with Linux rules + _compiled/bin/test|grep 123 || error "Variable DEFS didn't influence the output" +fi