summaryrefslogtreecommitdiff
path: root/pkgs/development/interpreters/lua-5/tests
AgeCommit message (Collapse)Author
2026-01-07lua5_5: update testsMarc Jakobi
2025-12-13treewide: prefer standard name for old and final AttrsAliaksandr
2025-10-30all-packages: do not export lib functions from pkgsAliaksandr
2025-03-16tests/lua-5: format tweakAustin Horstman
2025-03-15tests/lua-5: fix `checkInterpreterPath` test nameAustin Horstman
Checking a path location, not a patch.
2025-03-15tests/lua-5: fix lint errorsAustin Horstman
Unnecessary parenthesis
2025-03-15tests/lua-5: fix checkPropogatedBuildInputs testAustin Horstman
Dependencies changed in https://github.com/NixOS/nixpkgs/pull/342196
2024-12-10treewide: format all inactive Nix filesSilvan Mosberger
After final improvements to the official formatter implementation, this commit now performs the first treewide reformat of Nix files using it. This is part of the implementation of RFC 166. Only "inactive" files are reformatted, meaning only files that aren't being touched by any PR with activity in the past 2 months. This is to avoid conflicts for PRs that might soon be merged. Later we can do a full treewide reformat to get the rest, which should not cause as many conflicts. A CI check has already been running for some time to ensure that new and already-formatted files are formatted, so the files being reformatted here should also stay formatted. This commit was automatically created and can be verified using nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \ --argstr baseRev b32a0943687d2a5094a6d92f25a4b6e16a76b5b7 result/bin/apply-formatting $NIXPKGS_PATH
2024-06-12lua: take into propagated-build-inputs when building LUA_PATHMatthieu C.
so far we ignored propagated-build-inputs
2024-04-02lua.tests.checkSetupHook: test lua setup hook for http packageMatthieu Coudron
the 'http' package is an interesting one to test because all its lua files are in a 'http' subfolder, ie., there is no share/lua/5.1/*.lua, only share/lua/5.1/http/*.lua files unlike most packages. This tests we can match those subfolders.
2024-03-16lua.tests: update golden values for default LUA_PATHMatthieu Coudron
when LUA_PATH contains `;;`, it is replaced by `;LUA_PATH_DEFAULT;` in lua 5.1: Updated https://github.com/lua/lua/blob/69ea087dff1daba25a2000dfb8f1883c17545b7a/loadlib.c#L599 More recent versions might be smarter ? https://github.com/lua/lua/blob/65b07dd53d7938a60112fc4473f5cad3473e3534/loadlib.c#L301
2024-02-06lua.tests: add test for relative importMatthieu Coudron
better error message as well extracted from https://github.com/NixOS/nixpkgs/pull/273342 written by heyarne
2022-10-14lua: test the interpreterMatthieu Coudron
Test with: nix-build -A lua.tests pass Tests are very limited for now, goal is mostly to put the infra into place and enrich the tests when dealing with lua issues. add luaPath/luaCpath as passthrough makes it easier to generate LUA_PATH/LUA_CPATH