Due to a ransomware attack, the wiki was reverted to a July 2022 version. . We apologize for the lack of a more recent valid backup.
...
To get the source code and build ONOS, all you need to do it run the following commands from Unix-like terminal (e.g. Linux, MacOS):
Post Release 1.14 Owl (bazel BuildBazel build)
Code Block | ||
---|---|---|
| ||
$cd $ONOS_ROOT $bazel build onos |
...
To execute ONOS unit tests, including code Checkstyle validation, run the following command:
Release 1.14 Owl (Bazel build)
Code Block | ||
---|---|---|
| ||
$cd $ONOS_ROOT
$bazel query ‘tests(//…)’ | xargs bazel test |
Pre 1.14 command
Code Block | ||
---|---|---|
| ||
$ONOS_ROOT/tools/build/onos-buck test |