Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Tests: add test_env.run_in_tmp utility function | George Roman | 2018-07-24 | 1 | -189/+147 |
| | |||||
* | fs.copy: skip copying if the source and destination are the same files | George Roman | 2018-07-22 | 1 | -1/+1 |
| | |||||
* | Tests: use more fixtures in the build tests | George Roman | 2018-07-22 | 1 | -29/+101 |
| | |||||
* | Tests: support running with the default detected OpenSSL locations | Hisham Muhammad | 2018-07-18 | 1 | -6/+3 |
| | |||||
* | Tests: use fixtures for some build integration tests | George Roman | 2018-07-18 | 1 | -24/+80 |
| | |||||
* | Tests: remove redundant build tests | George Roman | 2018-07-05 | 1 | -43/+0 |
| | |||||
* | Tests: unit tests for build.builtin | George Roman | 2018-07-05 | 1 | -19/+454 |
| | |||||
* | Tests: separate OPENSSL_DIRS into OPENSSL_INCDIR and OPENSSL_LIBDIR | George Roman | 2018-07-05 | 1 | -3/+6 |
| | |||||
* | Tests: replace small fixture files with inline content | George Roman | 2018-06-21 | 1 | -9/+90 |
| | |||||
* | builtin: if "libraries" is used but "external_dependencies" is not given, ↵ | Hisham Muhammad | 2018-06-14 | 1 | -0/+27 |
| | | | | | | | | autogenerate it The approach is slightly ugly since it adds builtin-specific knowledge to `luarocks.deps`, but I don't think any other build backends will support this behavior any time soon. | ||||
* | builtin: auto-detect modules when build.modules (or build!) is absent | Hisham Muhammad | 2018-06-14 | 1 | -0/+42 |
| | |||||
* | build: make "builtin" the default build.type | Hisham Muhammad | 2018-06-06 | 1 | -0/+27 |
| | |||||
* | Tests: luarocks init (#811) | George Roman | 2018-06-05 | 1 | -4/+19 |
| | |||||
* | Tests: replace #blackbox with #integration and #whitebox with #unit | George Roman | 2018-06-04 | 1 | -1/+1 |
| | |||||
* | Tests: cache build of mock server dependencies to speed up tests | Hisham Muhammad | 2018-05-28 | 1 | -2/+2 |
| | |||||
* | Tests: build: pin version in test | Hisham Muhammad | 2018-05-07 | 1 | -1/+1 |
| | |||||
* | Tests: build_dependencies | Hisham Muhammad | 2018-04-13 | 1 | -0/+8 |
| | |||||
* | Add support for namespaces. | Hisham Muhammad | 2018-04-11 | 1 | -0/+35 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For details of the new feature, see https://github.com/luarocks/luarocks/wiki/Namespaces This ended up being a huge commit because of some major refactoring motivated by the new feature: * new modules for some object types: * `luarocks.queries` - all functions that look for rocks in local or remote repositories now use objects constructed by this module: query objects contain the name, namespace and query constraints. Dependencies in a rockspec are also stored as query objects. * `luarocks.results` - all individual results produces from queries are returned in this format: result objects contain the name, namespace, version, arch and repo. * the `results` object was renamed to `result_tree`, to better reflect that it is not an array of `result` objects. * `luarocks.vers` was removed, its functionality was moved to better locations. Specifically on namespaces: * Commands that take a rock `name` can now take `namespace/name` (and alternately `--flags=namespace` so that URLs can be also installed with a nominal namespace). * Rocks installed from a namespace now create a `rock_namespace` file alongside `rock_manifest`, which is used when matching namespaced dependencies against locally-installed rocks. * Using namespaced dependencies in a rockspec, requires `rockspec_format = "3.0"`. * Tests under the `#namespaces` hashtag, all using a local repository. | ||||
* | Reorganize test suite files | Hisham Muhammad | 2018-01-08 | 1 | -6/+6 |
| | |||||
* | Tests: add dependencies to mock-server tests | Hisham Muhammad | 2018-01-04 | 1 | -2/+2 |
| | |||||
* | Tests: mark tests with #mock to fix Appveyor failures | Hisham Muhammad | 2018-01-02 | 1 | -1/+1 |
| | |||||
* | Tests: build using INCDIR for an external dependency | Hisham Muhammad | 2017-11-06 | 1 | -4/+22 |
| | |||||
* | Use versioned files only. (#734) | Hisham Muhammad | 2017-10-04 | 1 | -20/+20 |
| | | | | | | | | Let's take the opportunity of a new major version to make an important cleanup: getting rid of the error-prone unversioned configuration files. This drops support for: * Unversioned config.lua -> use config-5.x.lua * Unversioned luarocks/site_config.lua -> it always generates luarocks/core/site_config_5_x.lua * Unversioned lib/luarocks/rocks -> it always uses lib/luarocks/rocks-5.x | ||||
* | Tests: luarocks_bool commands log their outputs on failure. | Hisham | 2016-09-08 | 1 | -4/+4 |
| | |||||
* | Change APPVEYOR_OPENSSL to OPENSSL_DIRS for better test readability | roboo | 2016-08-22 | 1 | -15/+3 |
| | |||||
* | Windows and appveyor support for tests | roboo | 2016-08-21 | 1 | -29/+60 |
| | |||||
* | Test improvements | roboo | 2016-07-19 | 1 | -17/+19 |
| | |||||
* | need_rock() added, new flag noreset environment | roboo | 2016-07-14 | 1 | -2/+0 |
| | |||||
* | Make env vars, paths and run commands available on test env load | Peter Melnichenko | 2016-07-08 | 1 | -2/+2 |
| | |||||
* | Tests: disable insulation and use describe() instead of expose() | Peter Melnichenko | 2016-07-08 | 1 | -1/+1 |
| | |||||
* | Remove all the unused imports in test suite | Peter Melnichenko | 2016-07-08 | 1 | -1/+0 |
| | |||||
* | New test-suite for LuaRocks (#581) | robooo | 2016-07-07 | 1 | -0/+182 |
First version of new test-suite, using Busted framework based on Google Summer of Code project: https://summerofcode.withgoogle.com/projects/#5695811874717696 * Rewritten from Bash to Lua * Tests now check if they did what they were supposed to, beyond only checking success or failure of the `luarocks` command * Support for black-box (launching `luarocks` as an external command) and white-box (testing functions in modules directly) testing |