From 44002eeb14afb2ca5d5a141d0a6d6a9110520093 Mon Sep 17 00:00:00 2001 From: mpeterv Date: Tue, 12 Apr 2016 17:17:44 +0300 Subject: [PATCH] Test --patch --- appveyor.yml | 2 +- test.sh | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 746509b..e6037c7 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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 diff --git a/test.sh b/test.sh index d6d6fef..93a7f77 100755 --- a/test.sh +++ b/test.sh @@ -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