snabb
snabb copied to clipboard
How to run selftests ?
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 !
To run all selftests, simply type:
$ sudo make test
Tests that depend on hardware (NICs) will be skipped.
Hello ! Thanks for reply ! There isn't any way to test without root ? Isn't it a bit scary ? Cheers !
Hello again ! Now snabb-ljs passes all selftests that snabb pass on my machine. Thanks !