Test --patch
This commit is contained in:
parent
11e2fa78d0
commit
44002eeb14
@ -24,7 +24,7 @@ configuration:
|
|||||||
build_script:
|
build_script:
|
||||||
- PATH %CD%\here\bin;C:\mingw\bin;C:\python%Python%;%PATH%
|
- PATH %CD%\here\bin;C:\mingw\bin;C:\python%Python%;%PATH%
|
||||||
- python --version
|
- 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:
|
test_script:
|
||||||
- lua -v
|
- lua -v
|
||||||
|
|||||||
8
test.sh
8
test.sh
@ -7,6 +7,8 @@ rm -rf test/here
|
|||||||
$HEREROCKS -l^ -r^
|
$HEREROCKS -l^ -r^
|
||||||
lua -v
|
lua -v
|
||||||
lua -e "assert(bit32)"
|
lua -e "assert(bit32)"
|
||||||
|
lua -e "assert(coroutine.wrap(string.gmatch('x', '.'))() ~= 'x')"
|
||||||
|
|
||||||
luarocks --version
|
luarocks --version
|
||||||
luarocks make
|
luarocks make
|
||||||
hererocks-test | tee test/tmp && grep "5\.3" test/tmp
|
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)"
|
lua -e "assert(math.mod == nil)"
|
||||||
|
|
||||||
rm -rf test/here
|
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(not bit32)"
|
||||||
|
lua -e "assert(coroutine.wrap(string.gmatch('x', '.'))() == 'x')"
|
||||||
|
|
||||||
rm -rf test/here
|
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
|
$HEREROCKS --show
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user