]> rtime.felk.cvut.cz Git - omk.git/blobdiff - tests/all_omk_subdirs.inc
RTEMS rules: provide support to build application with symbols exported.
[omk.git] / tests / all_omk_subdirs.inc
index 2c0340998cd0626b0868d9c34d5813db043d4956..511eec2cf09daf64c0e14cd24cecc0c338641f1a 100755 (executable)
@@ -1,13 +1,10 @@
 #!/bin/bash
 
-. ./functions.sh
-
 touch config.omk-default
 echo "SUBDIRS $OP \$(ALL_OMK_SUBDIRS)" > Makefile.omk
-
-OUTPUT=$(make 2>&1) || canttest
-echo $OUTPUT | grep make-in-dir1 || error "Make was not called in dir1" 
-echo $OUTPUT | grep make-in-dir2 || error "Make was not called in dir2"
-echo $OUTPUT | grep make-in-dir3 && error "Make shouldn't be called in dir3" 
+WVPASS bash -o pipefail -c 'make 2>&1 | tee output'
+grep make-in-dir1 output || error "Make was not called in dir1" 
+grep make-in-dir2 output || error "Make was not called in dir2"
+grep make-in-dir3 output && error "Make shouldn't be called in dir3" 
 
 exit 0