]> rtime.felk.cvut.cz Git - omk.git/blob - tests/all_omk_subdirs.inc
Update wvtool
[omk.git] / tests / all_omk_subdirs.inc
1 #!/bin/bash
2
3 touch config.omk-default
4 echo "SUBDIRS $OP \$(ALL_OMK_SUBDIRS)" > Makefile.omk
5 WVPASS bash -o pipefail -c 'make 2>&1 | tee output'
6 grep make-in-dir1 output || error "Make was not called in dir1" 
7 grep make-in-dir2 output || error "Make was not called in dir2"
8 grep make-in-dir3 output && error "Make shouldn't be called in dir3" 
9
10 exit 0