Tests: Improve CheckSourceTree test

Re-implement the test using simpler approach. Enable it only when doing an out-of-source build with a .git source. Re-use the git tool found for version computation. Print the output from git status without modification. Rely on .gitignore instead of filtering out paths ourselves.

Merge request reports

Loading