]> rtime.felk.cvut.cz Git - omk.git/blob - tests/programs/runtest-defs
Added test for 'x' in generated headers.
[omk.git] / tests / programs / runtest-defs
1 #!/bin/sh
2
3 source ../functions.sh
4
5 touch config.omk-default
6 echo "DEFS=-DNUMBER=123" > config.omk
7 make||canttest "Can't compile"
8 [ $OMK_RULES != linux ] && canttest "Should work only with Linux rules"
9 _compiled/bin/test|grep 123 || error "Variable DEFS didn't influence the output"