aboutsummaryrefslogtreecommitdiff
path: root/spec/util (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tests: use paths with spaces when testing on WindowsHisham Muhammad2024-02-291-1/+7
| | | | This should force us to test our compatibility with paths with spaces all over.
* tests: speed up and simplifyHisham Muhammad2024-02-292-62/+71
|
* feat: more informative reports no bad LUA_{INC,LIB}DIR configsHisham Muhammad2024-02-292-8/+11
|
* do not check coverage or luacheck for vendored modulesHisham Muhammad2024-02-291-0/+3
| | | | | These are treated as dependencies, and are managed and tested by upstream.
* tests: reorganize and speed up unit testsHisham Muhammad2024-02-271-52/+65
|
* tests(fetch): do not use restserverHisham Muhammad2024-02-272-1/+16
|
* tests: enable coverage on quick testsHisham Muhammad2024-02-261-2/+3
|
* tests: replace some more tests with quick testsHisham Muhammad2024-02-261-12/+33
|
* fix: better normalization for paths and slashesHisham Muhammad2024-02-232-207/+297
| | | | Fixes #1195.
* tests: introduce quick testsHisham Muhammad2024-02-232-1/+399
|
* drop cfg.lua_interpreter, use cfg.variables.LUAHisham Muhammad2024-02-181-38/+58
|
* tests: auto-find interpreter at /usr/bin/lua (#1544)Hisham Muhammad2023-10-311-16/+33
|
* tests: run quiet curl in mock API callsHisham Muhammad2022-08-261-1/+1
|
* tests: run full tests with LuaSecHisham Muhammad2022-08-262-5/+9
|
* tests: accept full path in -Xhelper lua_interpreterHisham Muhammad2022-06-061-9/+14
|
* tests: run tests on Lua 5.4 and LuaJIT 2.1Hisham Muhammad2022-04-162-6/+7
|
* tests: avoid repeated hardcoded package version numbers all overHisham Muhammad2022-04-122-24/+121
|
* tests: remove Travis CI, add Github ActionsHisham Muhammad2022-02-171-6/+6
|
* tests: wait longer for mock server to startHisham Muhammad2022-02-171-13/+25
|
* tests: bump luacov to 0.15.0Hisham Muhammad2021-07-221-2/+2
|
* editorconfig: trim trailing whitespaceHisham Muhammad2021-03-162-15/+15
|
* fs: always check for failure of fs.which_tool (#1157)Hisham Muhammad2020-02-201-1/+5
|
* tests: drop LuaSec dependency on tests, use fixtures insteadHisham Muhammad2020-01-251-17/+25
|
* build: fix --branch flagHisham Muhammad2019-09-031-0/+1
| | | | | | | | | | | | The `--branch` flag is optional and takes a string argument. The `--branch` flag does not make sense for `luarocks make` because it does not fetch sources, it builds/installs based on whatever is in the current directory. This also adds tests that verify the behavior, but these don't run in Travis CI because of issues running a Git daemon there. They were verified locally.
* Enable use of lua-bz2Hisham Muhammad2019-06-061-1/+3
| | | | Fixes #1005.
* update to luacov 0.13.1 + cluacov 0.1.1Hisham Muhammad2019-04-031-2/+5
|
* Add --sign option to `luarocks pack`Hisham Muhammad2019-04-011-0/+2
| | | | | | | | * Introduce a new module, `luarocks.signing` * Add `--sign` option to `luarocks pack`, which produces a detached GPG signature * Includes a basic test, along with some fixtures with a password-less GPG key
* core.sysdetect: add fork-free OS detection (#938)Hisham Muhammad2018-10-301-2/+2
| | | | | Detect operating system and architecture without forking subprocesses, doing `file`-like detection reading data from well-known system executables.
* Tests: add regression test for luarocks.loader startupHisham Muhammad2018-09-111-1/+5
|
* Tests: add test_env.run_in_tmp utility functionGeorge Roman2018-07-241-0/+19
|
* Tests: tweak dependencies for env=full testsHisham Muhammad2018-07-181-11/+10
|
* Tests: support running with the default detected OpenSSL locationsHisham Muhammad2018-07-181-2/+5
|
* Tests: separate OPENSSL_DIRS into OPENSSL_INCDIR and OPENSSL_LIBDIRGeorge Roman2018-07-051-3/+15
|
* Tests: improve isolation of testsHisham Muhammad2018-07-011-0/+1
|
* Let LuaRocks find LUA_LIBDIR and LUA_INCDIR by itselfHisham Muhammad2018-07-011-10/+0
|
* Tests: improve hardcoded defaultsHisham Muhammad2018-07-011-12/+28
|
* Tests: try some smarter defaults for WindowsHisham Muhammad2018-07-011-3/+6
|
* Tests: do not run installer on WindowsHisham Muhammad2018-07-011-35/+38
|
* Tests: speed up downloading rocks reusing HTTP connectionHisham Muhammad2018-07-011-8/+15
|
* cmd, Tests: ensure versioned directory is tried firstHisham Muhammad2018-07-011-2/+2
|
* Tests: ensure that tests do not accidentally find a project dirHisham Muhammad2018-07-011-0/+1
|
* cfg, cmd: major reorganizationHisham Muhammad2018-07-011-13/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * `--lua-dir` flag, specifying a prefix for the Lua installation to be used. This reconfigures LuaRocks entirely, including allowing a LuaRocks which is itself running using one Lua 5.x version to manage packages for a different Lua 5.y version. The resulting configuration can be checked with `luarocks config --lua-dir=<path>`. * requiring `luarocks.core.cfg` no longer has side-effects * configuration now needs to be initialized with `cfg.init([lua_data])`, where `lua_data` is a table with the configuration of the VM: * `lua_version` - e.g. `"5.3"` * `luajit_version` - e.g. `"2.1.0-beta3"` * `lua_interpreter` - e.g. `"lua5.3"` * `lua_bindir` - e.g. `"/usr/local/bin"` * `lua_libdir` - e.g. `"/usr/local/lib"` * `lua_incdir` - e.g. `"/usr/local/include/lua-5.3"` * `cfg.init` can be called multiple times, reconfiguring the global state. This is important since `luarocks.loader` now calls it, and the `--lua-dir` command line can override the configuration and reconfigure LuaRocks. * `site_config_*` is no more: LuaRocks is no longer dependent on a properly-written site_config file. Instead, it can *optionally* use `luarocks.core.hardcoded` for hardcoded values, or detect its configuration at runtime, based on OS detection, arg[-1] or command-line flags. * reduction of moving parts in the configuration: * `cfg.platforms` is no longer a globally-visible table; instead, `cfg` provides an API of read-only functions: `is_platform`, `each_platform`, `print_platforms`. * `cfg.*_proxy` options are no longer configured via the config files, but rather via the standard `*_proxy` environment variables. * `"windows"` is now the more general platform name of the Windows family. This is technically a breaking change but I don't expect it to cause problems with real-world rockspecs. * internal code reorganization in `luarocks.cmd` module
* Tests: disable customized external_deps_dirsHisham Muhammad2018-06-141-12/+0
|
* Tests: do not rebuild mock server rocks if already builtHisham Muhammad2018-06-141-5/+20
|
* build: make "builtin" the default build.typeHisham Muhammad2018-06-061-8/+13
|
* Add temporary path utility function to test_envGeorge Roman2018-05-291-0/+9
|
* Tests: cache build of mock server dependencies to speed up testsHisham Muhammad2018-05-281-33/+42
|
* Make the mock server run on WindowsGeorge Roman2018-05-282-6/+22
|
* Tests: test the "busted" backend of `luarocks test` with a local fixtureHisham Muhammad2018-05-072-5/+3
|
* Tests: ensure that extra_rocks specified in test files were downloadedHisham Muhammad2018-05-071-2/+2
|