Pelagicore / pelux-sde

PELUX Software Development Environment
Mozilla Public License 2.0
7 stars 10 forks source link

PELUX-SDE

Software Development Environment for the PELUX distro.

Maintained at https://github.com/Pelagicore/PELUX-SDE

License: MPLv2.0

Build

Dependencies:

For building the SDK installer, fetch the PELUX sources as describe in Prerequisites for building a PELUX image.

After building SDK installer, copy the SDK installer into PELUX-SDE repository's root directory and run,

SDK_FILE_NAME=<SDK installer> vagrant up

Used environment variables:

Following is a list of environment variables used by vagrant when provisioning the SDE.

Testing

Dependencies:

Note: In order to do clean tests, this script will tear down and destroy the VM if it is already created

test/run-tests.sh

Developing features

Since the SDK takes a long time to download and a long time to extract the tests use a stubbed version of the SDK. The stubbed version sets mock values for everything that is needed during the setup but nothing is actually installed. For instance is cmake setup by the stubbed SDK as a symlink to /bin/true.

Keep in mind that the stubbed SDK is intended to be minimal. Meaning it will not set all environment variables and provide fake installations of all tools installed by a real SDK. Therefore when developing new features for the SDE, it is likely necessary to extend the stubbed SDK with more environment variables or stubbed instances of tools.