aboutsummaryrefslogtreecommitdiff
path: root/buildbot_test_llvm.py
diff options
context:
space:
mode:
authorCaroline Tice <cmtice@google.com>2016-07-02 18:00:18 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-07-18 13:22:50 -0700
commitd00ad41cf8d79f0760fa546dcdbb20a05c715177 (patch)
tree00257ca0585cac68701a29ef1cf9cf5c10653c2b /buildbot_test_llvm.py
parent6bee8a50519fe42aa3c9cf727c1832510c3f0157 (diff)
downloadtoolchain-utils-d00ad41cf8d79f0760fa546dcdbb20a05c715177.tar.gz
[crosperf] Separate output for different compilers.
Currently the rotating nightly tester is writing all the test output to the same directory, based on board name, so the GCC & LLVM output files for a particular are overwriting each other. This CL puts the GCC & LLVM output into different directories so that won't happen. BUG=None TEST=None Change-Id: Ifc564a51bd0f44c9a701805975cbb64325074aab Reviewed-on: https://chrome-internal-review.googlesource.com/268335 Commit-Ready: Caroline Tice <cmtice@google.com> Tested-by: Caroline Tice <cmtice@google.com> Reviewed-by: Ting-Yuan Huang <laszio@google.com>
Diffstat (limited to 'buildbot_test_llvm.py')
-rwxr-xr-xbuildbot_test_llvm.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/buildbot_test_llvm.py b/buildbot_test_llvm.py
index 036867b9..02c991bc 100755
--- a/buildbot_test_llvm.py
+++ b/buildbot_test_llvm.py
@@ -83,7 +83,7 @@ class ToolchainVerifier(object):
self._weekday = time.strftime('%a')
else:
self._weekday = weekday
- self._reports = os.path.join(VALIDATION_RESULT_DIR, board)
+ self._reports = os.path.join(VALIDATION_RESULT_DIR, compiler, board)
def _FinishSetup(self):
"""Make sure testing_rsa file is properly set up."""
@@ -145,7 +145,7 @@ def SendEmail(start_board, compiler):
results = ""
for i in range(len(TEST_BOARD)):
board = TEST_BOARD[(start_board + i) % len(TEST_BOARD)]
- f = os.path.join(VALIDATION_RESULT_DIR, board)
+ f = os.path.join(VALIDATION_RESULT_DIR, compiler, board)
if not os.path.exists(f):
continue
results += board
@@ -155,7 +155,7 @@ def SendEmail(start_board, compiler):
read_data = readin.read()
results += read_data
- output = os.path.join(VALIDATION_RESULT_DIR, "result")
+ output = os.path.join(VALIDATION_RESULT_DIR, compiler, "result")
with open(output, 'w') as out:
out.write(results)
@@ -223,7 +223,7 @@ def Main(argv):
options.weekday, patches, options.compiler)
fv.DoAll()
except SystemExit:
- logfile = os.path.join(VALIDATION_RESULT_DIR, board)
+ logfile = os.path.join(VALIDATION_RESULT_DIR, options.compiler, board)
with open(logfile, 'w') as f:
f.write("Verifier got an exception, please check the log.\n")