forked from OSchip/llvm-project
[utils] Run tests in the proper directory.
The intent here was to run check-llvm/check-clang in the instrumented clang's build directory, not the maybe-not-yet-created uninstrumented clang's. Oops. :) llvm-svn: 345461
This commit is contained in:
parent
17ff026b73
commit
e61b0d772c
|
@ -41,7 +41,7 @@ def _run_benchmark(env, out_dir, include_debug_info):
|
||||||
# paths a fair amount, though the `if (stuff_is_broken) { diag() ... }`
|
# paths a fair amount, though the `if (stuff_is_broken) { diag() ... }`
|
||||||
# branches should still heavily be weighted in the not-taken direction,
|
# branches should still heavily be weighted in the not-taken direction,
|
||||||
# since we built all of LLVM/etc).
|
# since we built all of LLVM/etc).
|
||||||
_build_things_in(env, target_dir, what=['check-llvm', 'check-clang'])
|
_build_things_in(env, out_dir, what=['check-llvm', 'check-clang'])
|
||||||
|
|
||||||
# Building tblgen gets us coverage; don't skip it. (out_dir may also not
|
# Building tblgen gets us coverage; don't skip it. (out_dir may also not
|
||||||
# have them anyway, but that's less of an issue)
|
# have them anyway, but that's less of an issue)
|
||||||
|
|
Loading…
Reference in New Issue