[llvm] r345461 - [utils] Run tests in the proper directory.

George Burgess IV via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 27 13:02:06 PDT 2018


Author: gbiv
Date: Sat Oct 27 13:02:06 2018
New Revision: 345461

URL: http://llvm.org/viewvc/llvm-project?rev=345461&view=rev
Log:
[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. :)

Modified:
    llvm/trunk/utils/collect_and_build_with_pgo.py

Modified: llvm/trunk/utils/collect_and_build_with_pgo.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/collect_and_build_with_pgo.py?rev=345461&r1=345460&r2=345461&view=diff
==============================================================================
--- llvm/trunk/utils/collect_and_build_with_pgo.py (original)
+++ llvm/trunk/utils/collect_and_build_with_pgo.py Sat Oct 27 13:02:06 2018
@@ -41,7 +41,7 @@ def _run_benchmark(env, out_dir, include
     # paths a fair amount, though the `if (stuff_is_broken) { diag() ... }`
     # branches should still heavily be weighted in the not-taken direction,
     # 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
     # have them anyway, but that's less of an issue)




More information about the llvm-commits mailing list