[PATCH] D15870: [test-suite] Add CMake option to use host-timeit

Chad Rosier via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 5 14:16:28 PST 2016


mcrosier updated the summary for this revision.
mcrosier removed rL LLVM as the repository for this revision.
mcrosier updated this revision to Diff 44060.
mcrosier added a comment.

Use Matthis' suggestion..  Thanks!


http://reviews.llvm.org/D15870

Files:
  lit.cfg

Index: lit.cfg
===================================================================
--- lit.cfg
+++ lit.cfg
@@ -135,7 +135,9 @@
     else:
         if stdout is not None or stderr is not None:
             raise Exception("separate stdout/stderr redirection not possible with traditional output")
-    timeit = "%s/tools/timeit-target" % config.test_source_root
+    timeit = "%s/tools/timeit" % config.test_source_root
+    if config.remote_host:
+        timeit = "%s/tools/timeit-target" % config.test_source_root
     timeout = "7200"
     if stdin is None:
         stdin = "/dev/null"


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15870.44060.patch
Type: text/x-patch
Size: 590 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160105/836e162a/attachment.bin>


More information about the llvm-commits mailing list