]> rtime.felk.cvut.cz Git - omk.git/blob - tests/programs-cflags
First converted test to run under wvtest
[omk.git] / tests / programs-cflags
1 #!/bin/bash
2
3 . ./functions.sh
4
5 touch config.omk-default
6 echo "CFLAGS=-DNUMBER=123" > config.omk
7 needs_valid_CC
8 make||error "Can't compile"
9 [ $OMK_RULES != linux ] && canttest "Should work only with Linux rules"
10 _compiled/bin/test|grep 123 || error "Custom CFLAGS didn't influence the output"