summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-01-04 14:15:19 +0100
committerConrad Kostecki <conikost@gentoo.org>2021-01-20 22:18:16 +0100
commit0ee2ce738bd38c7ffcdc69943e66273e38f5a189 (patch)
tree3f66cfeb261eb4176bdff74c8d0fab6e06a2c084 /dev-ros/class_loader/class_loader-9999.ebuild
parentsys-apps/haveged: Revbump to not install .la files (diff)
downloadgentoo-0ee2ce738bd38c7ffcdc69943e66273e38f5a189.tar.gz
gentoo-0ee2ce738bd38c7ffcdc69943e66273e38f5a189.tar.bz2
gentoo-0ee2ce738bd38c7ffcdc69943e66273e38f5a189.zip
eclass/lua-utils.eclass: Add support for test-runners
During migration of dev-lua/* ebuilds to slotted lua, I noticed, that many ebuilds use 'dev-lua/busted' for running tests. This change adds support for running a test-runner, at first only 'busted' for now. Also a non-color and plaintext output will be used for the test-runner 'busted'. This is basically a copy of the test-runner section, written by mgorny, which already exists in 'distutils-r1', but modified and adapted to lua. In order to use this feature, you can define 'lua_enable_tests busted' to setup everything needed for tests and run them. By default, 'dev-lua/busted' assumes, that tests are in the 'spec' folder. If this is not the case, you can add a second argument to specify a different folder. For example, if the folder is called 'foo', you can just run 'lua_enable_tests busted foo'. More test-runners can be added in future, if needed. Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-ros/class_loader/class_loader-9999.ebuild')
0 files changed, 0 insertions, 0 deletions