scripts: twister: Fix duplicate scans
If the src_dir_path is a child of testsuite_path,
some c files might be scanned twice.
To prevent that, we check for parentage.
Signed-off-by:
Lukasz Mrugala <lukaszx.mrugala@intel.com>
Loading
Please sign in to comment