Tested under Ubuntu 16.04, 17.04, 18.04 with default shell interpreter
- Create directory where you want to store SDL sources. For example:
mkdir -p ~/work/OpenSDL
- Clone sdl_infrastructure to your root project directory (make shure you are able to work via SSH: Account SSH keys or use HTTPS instead)
via SSH:
git -C ~/work/OpenSDL clone [email protected]:EKuliiev/sdl_infrastructure.git
OR via HTTPS:
git -C ~/work/OpenSDL clone https://github.com/EKuliiev/sdl_infrastructure.git
- Execute script to setup environment:
~/work/OpenSDL/sdl_infrastructure/setup_dependencies.sh
- Execute script to load SDL repositories and setup them to the actual states:
~/work/OpenSDL/sdl_infrastructure/sync.sh
- Build sdl_core:
~/work/OpenSDL/sdl_infrastructure/build.sh --install (type --help to see all opts)
- Execute script to prepare and build ATF:
~/work/OpenSDL/sdl_infrastructure/prepare_atf.sh
- Go to sdl_atf directory to work with ATF scripts:
cd ~/work/OpenSDL/sdl_atf/
- To perform test run script start_test.sh by passing scenario script to it:
./start_test.sh test_scripts/Smoke/Policies/001_PTU_all_flows.lua # for running smoke tests
If you need to run smartDeviceLinkCore manualy you need to setup runtime environment first: First perform sourcing script: source ~/work/OpenSDL/sdl_infrastructure/setup_runtime_env.sh After that you able to run service