aboutsummaryrefslogtreecommitdiff
path: root/.busted (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-10-06Install site_config.lua after Makefile calls luarocks.Hisham1-3/+6
Otherwise, when luarocks removes a previous version it may end up deleting the site_config.lua file that was freshly installed. Closes #625.
2016-10-06Prepare for release 2.4.1.Hisham4-6/+6
2016-10-06Make the workaround for older LuaRocks versions more robust.Hisham1-0/+24
2016-10-06Rewrite util.sortedpairs to avoid using coroutinesPeter Melnichenko1-36/+43
util.sortedpairs is used in luarocks loader since @6dc745a. Openresty does not like coroutines being used from inside `require`, resulting in "attempt to yield across C-call boundary" error. New version of util.sortedpairs uses a prepared array of ordered keys instead of coroutines. Ref #620.
2016-10-06Add tests for util.sortedpairsPeter Melnichenko1-0/+56
2016-10-05Simulate module() for older wrappers.Hisham1-0/+5
Older versions of LuaRocks (e.g. 2.1.0) install script wrappers that assume that `luarocks.loader` is available in the global namespace (this is from the module() era). This workaround detects this (because site_config.lua files written by these old versions use module(), and therefore create a `luarocks` global. To reproduce this issue, make a clean install of LuaRocks 2.1.0, then run `luarocks install luarocks`. Installation succeds, but running `luarocks` produces `attempt to index field 'loader' (a nil value)`. Bug reported by @tomasguisasola.
2016-09-11Add Gitter badge, change Travis badge to svgHisham Muhammad1-1/+2
2016-09-08Remove old testing.batbranched-to-2.4.0Hisham1-9/+0
2016-09-08Restore accidentally deleted line!Hisham1-0/+1
2016-09-08Fix test to match new behavior of `pack`.Hisham1-2/+3
2016-09-08Tests: luarocks_bool commands log their outputs on failure.Hisham7-22/+38
2016-09-08Fix pack-binary-rock operation.Hisham1-1/+1
2016-09-08Make `pack` use the same logic as `show` for finding a rock.Hisham4-64/+46
2016-08-23Remove Appveyor scripts replaced by HererocksHisham2-265/+0
2016-08-23Revert verbose after debuggingHisham1-1/+1
2016-08-23install.bat: get rid of string splitting functionPeter Melnichenko1-30/+3
2016-08-23install.bat: get rid of vars.LUA_LIB_NAMESPeter Melnichenko1-15/+8
Generate list of names when needed instead of pregenerating a list of 5.1 and then changing it when LUA_VERSION is different.
2016-08-23Remove a redundant check in install.batPeter Melnichenko1-3/+0
check_flags() already ensures that if bundled Lua is being installed LUA_VERSION is 5.1.
2016-08-22Use Unix makefile by default on MinGW;Hisham1-0/+1
Makefile.win is a leftover from Kepler days, and those are usually NMAKE makefiles for MSVC.
2016-08-22Run failing test with --verboseHisham1-1/+1
2016-08-22Put MinGW in PATH for hererocks tooHisham1-1/+2
2016-08-22Build Lua using the same compiler as the one we're testingHisham2-11/+11
2016-08-22Replace coverage badge with CodeCov badgeHisham1-2/+2
2016-08-22Add support for testing using MinGWHisham2-6/+23
2016-08-22Change APPVEYOR_OPENSSL to OPENSSL_DIRS for better test readabilityroboo4-40/+8
2016-08-22Change APPVEYOR_OPENSSL to OPENSSL_DIRS for better test readabilityroboo1-1/+2
2016-08-22Remove unused global variablesroboo1-3/+1
2016-08-22Fix of config testroboo1-19/+16
2016-08-22Fix of config testroboo1-22/+25
2016-08-22Update install.bat help messagePeter Melnichenko1-1/+1
2016-08-22Autodetect Lua version in install.batPeter Melnichenko1-18/+51
2016-08-21Fix of test_environmentroboo1-2/+2
2016-08-21Update of READMEroboo1-1/+10
2016-08-21Update of YAML files, changed coveralls for codecovroboo2-14/+22
2016-08-21Fix of show testroboo1-1/+1
2016-08-21Windows and appveyor support for testsroboo16-215/+408
2016-08-21Split look_for_lua_install in install.batPeter Melnichenko1-26/+26
Move gathering of potential lua directories into a separate function, call it only when needed.
2016-08-21Refactor look_for_headers in install.batPeter Melnichenko1-18/+20
One side effect should be that LUA_INCDIR does not have trailing backslash when inferred.
2016-08-21Refactor look_for_link_libraries in install.batPeter Melnichenko1-15/+15
One side effect should be that inferred LIB_DIR has no trailing backslash.
2016-08-21Refactor look_for_interpreter in install.batPeter Melnichenko1-45/+21
Replace repeating code with loops. The only side effect should be that LUA_BINDIR now does not have trailing backslash when it's inferred.
2016-08-11Make behavior of config files on Windows more consistentHisham2-5/+4
with that on Unix. This was detected during the port of the new testsuite to Windows by @robooo.
2016-07-28Fix download in test.Hisham1-1/+1
2016-07-28Closes #595. Fixes placement of rockspec when unpacking a git:// rock.Hisham2-3/+11
2016-07-21Bug in installing LRroboo1-4/+4
2016-07-19Test improvementsroboo10-51/+49
2016-07-19Verbose mode addedroboo1-8/+25
2016-07-18Fix of upload tests for lua5.3roboo4-5/+6
2016-07-18Fix of upload tests for lua5.3roboo1-2/+2
2016-07-17Fix of mock server setuproboo2-16/+5
2016-07-17New upload tests with mock-serverroboo3-1/+132