Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
languagebash
$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
languagebash
$cd $ONOS_ROOT
$bazel query ‘tests(//…)’ | xargs bazel test

Pre 1.14 command

Code Block
languagebash
$ONOS_ROOT/tools/build/onos-buck test