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