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