]> rtime.felk.cvut.cz Git - omk.git/blobdiff - tests/wvtest.sh
NuttX: the adapt to new implementation of ROMFS mounting at /etc
[omk.git] / tests / wvtest.sh
index 89e37ec1435db33d5479958ade8723b43b2516ab..d6bc1984d73ad4651e8ee310caefd2c9028085f9 100644 (file)
@@ -139,6 +139,7 @@ WVSTART()
        mkdir -p "$dir"
        WVPASS cd "$WV_BASE_DIR/$dir"
        WVPASS cp "$OMK_TESTSROOT"/../rules/$OMK_RULES/* .
+       WVPASS cp "$OMK_TESTSROOT"/../snippets/Makefile.rules.$OMK_RULES Makefile.rules
        WVPASS cp "$OMK_TESTSROOT/../leaf-makefile/Makefile" .
 }
 
@@ -192,6 +193,9 @@ testdir="tmp/$(basename $0 .sh).$OMK_RULES"
 WVPASS mkdir -p "$testdir"
 WVPASS cd "$testdir"
 WVPASS cp "$OMK_TESTSROOT"/../rules/$OMK_RULES/* .
+WVPASS cp "$OMK_TESTSROOT"/../snippets/Makefile.rules.$OMK_RULES Makefile.rules
 WVPASS cp "$OMK_TESTSROOT/../leaf-makefile/Makefile" .
 
 WV_BASE_DIR="$PWD"
+export MAKEFLAGS="--include-dir=$OMK_TESTSROOT/../snippets"
+export LC_ALL=C