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 to run selftests ? #1400

Open
mingodad opened this issue Dec 19, 2018 · 3 comments
Open

How to run selftests ? #1400

mingodad opened this issue Dec 19, 2018 · 3 comments

Comments

@mingodad
Copy link

Hello !
I've just finished the first release of snabb-ljs https://github.com/mingodad/snabb-ljs for testing purposes and I could not find if there is a way to execute all the selftests to check that my conversion is working as expected.

What it mean ?
Basically it's the snabb based on luajit converted to ljsjit a lua with C/C++/Java/Javascript syntax see https://github.com/mingodad/ljs .

Also I do not have any equipment to test it, if someone could try it and report any problems I would appreciate the help.

Cheers !

@dpino
Copy link
Contributor

dpino commented Dec 19, 2018

To run all selftests, simply type:

$ sudo make test

Tests that depend on hardware (NICs) will be skipped.

@mingodad
Copy link
Author

Hello !
Thanks for reply !
There isn't any way to test without root ?
Isn't it a bit scary ?
Cheers !

@mingodad
Copy link
Author

Hello again !
Now snabb-ljs passes all selftests that snabb pass on my machine.
Thanks !

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

2 participants