Update CheckProjects to not fail for non-dev CORE_ROOT
authorAndy Ayers <andya@microsoft.com>
Wed, 19 Apr 2017 21:07:24 +0000 (14:07 -0700)
committerAndy Ayers <andya@microsoft.com>
Wed, 19 Apr 2017 21:21:24 +0000 (14:21 -0700)
commit6521f0772322420d9b9e8528e9c121131808749e
tree9c2302ee7710a2d33f6550ed80ce66a90c903024
parentfc3a969ad46a4689332792dab01d647db1ce41c1
Update CheckProjects to not fail for non-dev CORE_ROOT

CheckProjects expects to be able to find the jit test project files
relative to the value of the `CORE_ROOT` environment variable. This
fails when we have test setups like cross-tests or helix where the
test binary tree has been copied away from the repo after building.

Tolerate these cases by returning a success code if the `CORE_ROOT`
path is not pointing at the expected place.

Fixes #11079.
Fixes #10635.
tests/src/JIT/CheckProjects/CheckProjects.cs