-
Notifications
You must be signed in to change notification settings - Fork 193
Description
Hi there!
Just thought I'd leave you a heads-up as a warning that Busted's next CI build is going to fail. I actually just ran into this problem myself on my own project, caused by a new version of Penlight that was pushed to Luarocks about 3 hours ago. Luarocks will use the new version (1.4.0-1) by default since it falls within the >=1.3.2-2
rule in Busted's rockspec files, and something's changed in pl.path
pl.dir
that's causing problems. I'm not actually sure the direct cause of the problem, (_EDIT:_ It's a bug in Penlight. See below.) but when I run busted spec
with the latest version of Penlight, Busted is no longer able to find the test files.
smhxx@Development:~/GitHub/busted$ sudo luarocks make busted-2.0.rc12-1.rockspec
Updating manifest for /usr/local/lib/luarocks/rocks
busted 2.0.rc12-1 is now built and installed in /usr/local (license: MIT <http://opensource.org/licenses/MIT>)
smhxx@Development:~/GitHub/busted$ busted spec
0 successes / 0 failures / 1 error / 0 pending : 0.000033 seconds
Error → No test files found matching Lua pattern: _spec
smhxx@Development:~/GitHub/busted$ sudo luarocks make busted-scm-0.rockspec
Updating manifest for /usr/local/lib/luarocks/rocks
busted scm-0 is now built and installed in /usr/local (license: MIT <http://opensource.org/licenses/MIT>)
Checking stability of dependencies on the absence of
busted 2.0.rc12-1...
Removing busted 2.0.rc12-1...
Removal successful.
smhxx@Development:~/GitHub/busted$ busted spec
0 successes / 0 failures / 1 error / 0 pending : 0.000022 seconds
Error → No test files found matching Lua pattern: _spec
Anyway, I'm just updating my .travis.yml for now to use the older version of Penlight, just thought I'd help out and bring this to your attention so that it doesn't come as a surprise the next time you commit. Cheers!