Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Busted tests fail if lua interpreter specified #411

Open
alerque opened this issue Jan 10, 2022 · 1 comment
Open

Busted tests fail if lua interpreter specified #411

alerque opened this issue Jan 10, 2022 · 1 comment

Comments

@alerque
Copy link
Member

alerque commented Jan 10, 2022

Noted while packaging for Arch Linux (which has packages for 4 Lua versions):

# works
$ busted

# fails
$ busted --lua lua

Specifying any Lua interpreter (even if it happens to be the default) causes one failure:

[  FAILED  ] spec/app_spec.lua @ 7: pl.app.lua should pick up the arguments used to run this test
@Tieske
Copy link
Member

Tieske commented Jan 14, 2022

I guess that's because both Busted and Penlight try and fiddle with the global args

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants