]> rtime.felk.cvut.cz Git - omk.git/blobdiff - tests/bin_scripts.sh
Update wvtool
[omk.git] / tests / bin_scripts.sh
index 54356548147a50f307d9b8fadd031bd73cf8fd6f..9298298869450bd956c2643221c0f079a23d3702 100755 (executable)
@@ -4,8 +4,6 @@
 
 [[ $OMK_RULES != "linux" ]] && exit 0
 
-WVSTART "bin_SCRIPTS variable"
-
 cat > Makefile.omk <<EOF
 bin_SCRIPTS = scripta scriptb
 EOF
@@ -19,3 +17,9 @@ WVPASS make
 
 WVPASS cmp scripta _compiled/bin/scripta
 WVPASS cmp scriptb _compiled/bin/scriptb
+
+# make sure that implicit built-in default rules didn't try to rebuild
+# scripta from scripta.c
+WVPASS touch scripta.c
+WVPASS make COMMENT="do not attempt to compile stripta.c"
+WVPASS cmp scripta _compiled/bin/scripta