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

How do I use the tests in the t directory? #226

Open
13ilya opened this issue Apr 27, 2024 · 0 comments
Open

How do I use the tests in the t directory? #226

13ilya opened this issue Apr 27, 2024 · 0 comments

Comments

@13ilya
Copy link

13ilya commented Apr 27, 2024

How to use perl tests in the t directory?
I found perl tests in the t directory, but no instructions on how to use them.

1 I intuitively understood correctly that for testing I need to install 3 packages

BuildRequires: perl-IPC-Run3
BuildRequires: perl-Test-Base
BuildRequires: perl-Test-LongString

And run perl t/TestLJ.pm

%check
perl t/TestLJ.pm

https://build.opensuse.org/package/show/home:13ilya/luajit2
The tests pass, but they just return true, with no test log.
I decided to ask if I'm doing it right, maybe I need to pass t-files in the parameters or something else?

2 What is the minimum version of perl they work with?
5.26 is too old, but they work with 5.38.

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

No branches or pull requests

1 participant