Skip to content
Commit 54d1bb73 authored by Théo Battrel's avatar Théo Battrel Committed by Carles Cufí
Browse files

Tests: bsim: Use correct compilation folder



If a test was written outside 'app_root' the 'app' path may contain
previous directory ('..') which would lead to the compilation file being
written outside the 'WORK_DIR'.

Fix the issue by checking if the 'app' is inside 'app_root', if it's
not, use the absolute path to the app for creating the 'this_dir'
variable.

Signed-off-by: default avatarThéo Battrel <theo.battrel@nordicsemi.no>
parent 12ea90c8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment