Test --patch

This commit is contained in:
mpeterv 2016-04-12 17:17:44 +03:00
parent 11e2fa78d0
commit 44002eeb14
2 changed files with 7 additions and 3 deletions

View File

@ -24,7 +24,7 @@ configuration:
build_script:
- PATH %CD%\here\bin;C:\mingw\bin;C:\python%Python%;%PATH%
- python --version
- python hererocks.py here --%Lua% --luarocks=latest --verbose --target=%Configuration% --downloads=downloads --no-git-cache
- python hererocks.py here --%Lua% --luarocks=latest --verbose --target=%Configuration% --downloads=downloads --no-git-cache --patch
test_script:
- lua -v

View File

@ -7,6 +7,8 @@ rm -rf test/here
$HEREROCKS -l^ -r^
lua -v
lua -e "assert(bit32)"
lua -e "assert(coroutine.wrap(string.gmatch('x', '.'))() ~= 'x')"
luarocks --version
luarocks make
hererocks-test | tee test/tmp && grep "5\.3" test/tmp
@ -27,9 +29,11 @@ lua -e "(function(...) assert(arg == nil) end)()"
lua -e "assert(math.mod == nil)"
rm -rf test/here
$HEREROCKS -l 5.3 --compat=none --builds=test/builds
rm -rf test/builds
$HEREROCKS -l 5.3 --compat=none --patch --builds=test/builds
lua -e "assert(not bit32)"
lua -e "assert(coroutine.wrap(string.gmatch('x', '.'))() == 'x')"
rm -rf test/here
$HEREROCKS -l 5.3 --compat=none --builds=test/builds | tee test/tmp && grep "Building" test/tmp | grep "cached"
$HEREROCKS -l 5.3 --compat=none --patch --builds=test/builds | tee test/tmp && grep "Building" test/tmp | grep "cached"
$HEREROCKS --show