Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tests: speed up and simplify | Hisham Muhammad | 2024-02-29 | 1 | -42/+0 |
| | |||||
* | tests: reorganize and speed up unit tests | Hisham Muhammad | 2024-02-27 | 1 | -13/+11 |
| | |||||
* | tests: avoid repeated hardcoded package version numbers all over | Hisham Muhammad | 2022-04-12 | 1 | -33/+33 |
| | |||||
* | fix: pack: rockspec with a bare file in the url | Hisham Muhammad | 2021-03-22 | 1 | -2/+3 |
| | |||||
* | editorconfig: trim trailing whitespace | Hisham Muhammad | 2021-03-16 | 1 | -11/+11 |
| | |||||
* | make: support --only-deps | Hisham Muhammad | 2020-02-14 | 1 | -0/+12 |
| | | | | Closes #1156. | ||||
* | tests: shorter descriptions | Hisham Muhammad | 2020-02-14 | 1 | -11/+11 |
| | |||||
* | dependency pinning: luarocks.lock file and --pin flag | Hisham Muhammad | 2019-11-29 | 1 | -0/+119 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for pinning dependencies in projects and rocks: * Adds a new flag called `--pin` which creates a `luarocks.lock` when building a rock with `luarocks build` or `luarocks make`. This lock file contains the exact version numbers of every direct or indirect dependency of the rock (in other words, it is the transitive closure of the dependencies.) For `make`, the `luarocks.lock` file is created in the current directory. The lock file is also installed as part of the rock in its metadata directory alongside its rockspec. When using `--pin`, if a lock file already exists, it is ignored and overwritten. * When building a rock with `luarocks make`, if there is a `luarocks.lock` file in the current directory, the exact versions specified there will be used for resolving dependencies. * When building a rock with `luarocks build`, if there is a `luarocks.lock` file in root of its sources, the exact versions specified there will be used for resolving dependencies. * When installing a `.rock` file with `luarocks install`, if the rock contains a `luarocks.lock` file (i.e., if its dependencies were pinned with `--pin` when the rock was built), the exact versions specified there will be used for resolving dependencies. | ||||
* | Support make --no-doc (#1092) | Paul Ouellette | 2019-11-15 | 1 | -0/+16 |
| | | | | | | * Support make --no-doc * Add test for make --no-doc | ||||
* | Tests: add test cases for rocks with conflicting module names | Hisham Muhammad | 2018-09-04 | 1 | -0/+105 |
| | | | | | This tests the behavior of upgrades and downgrades on rocks that deploy both foo.lua and foo.so | ||||
* | Tests: replace #blackbox with #integration and #whitebox with #unit | George Roman | 2018-06-04 | 1 | -1/+1 |
| | |||||
* | Tests: make sure tests run from testrun/ | Hisham Muhammad | 2018-03-30 | 1 | -9/+18 |
| | |||||
* | Reorganize test suite files | Hisham Muhammad | 2018-01-08 | 1 | -2/+2 |
| | |||||
* | Use versioned files only. (#734) | Hisham Muhammad | 2017-10-04 | 1 | -5/+5 |
| | | | | | | | | 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 | ||||
* | Change setup/teardown in make tests to before/after due to wrong use | roboo | 2017-07-06 | 1 | -2/+2 |
| | |||||
* | Added LPeg dependency for lxsh to luarocks make tests | roboo | 2017-07-05 | 1 | -0/+1 |
| | |||||
* | Add a test for conflict resolution with mixed deploy types | Peter Melnichenko | 2016-11-01 | 1 | -1/+68 |
| | |||||
* | Tests: luarocks_bool commands log their outputs on failure. | Hisham | 2016-09-08 | 1 | -4/+4 |
| | |||||
* | Windows and appveyor support for tests | roboo | 2016-08-21 | 1 | -20/+23 |
| | |||||
* | Test improvements | roboo | 2016-07-19 | 1 | -5/+5 |
| | |||||
* | Fix of upload tests for lua5.3 | roboo | 2016-07-18 | 1 | -1/+1 |
| | |||||
* | 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 | -2/+1 |
| | |||||
* | New test-suite for LuaRocks (#581) | robooo | 2016-07-07 | 1 | -0/+99 |
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 |