diff options
author | Tiancong Wang <tcwang@google.com> | 2019-03-01 10:00:38 -0800 |
---|---|---|
committer | Tiancong Wang <tcwang@google.com> | 2019-03-14 17:04:46 +0000 |
commit | 6512f0baf7a540267b735accac77cf6903a63306 (patch) | |
tree | 2959258979880f39d7108d8bcbe9f31ce78bc2dd /crosperf/results_organizer_unittest.py | |
parent | ca7fa0584faba419510cc03c98aa598254b3fe73 (diff) | |
download | toolchain-utils-6512f0baf7a540267b735accac77cf6903a63306.tar.gz |
crosperf: Add unittest for disable ASLR CL
In crrev.com/c/1398522, we disabled ASLR in crosperf by default. In
that CL, there's no unittest support and other crosperf unittest
might fail because of the CL. This patch is to fix the errors in
unittest and also add unittests for the newly added functionalities.
BUG=chromium:930332
TEST=Unittests pass
Change-Id: I332604245ea2ee1100a498ce021530572e7609ba
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/1497036
Reviewed-by: Caroline Tice <cmtice@chromium.org>
Tested-by: Tiancong Wang <tcwang@google.com>
Diffstat (limited to 'crosperf/results_organizer_unittest.py')
-rwxr-xr-x | crosperf/results_organizer_unittest.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crosperf/results_organizer_unittest.py b/crosperf/results_organizer_unittest.py index e7657373..2e6edf31 100755 --- a/crosperf/results_organizer_unittest.py +++ b/crosperf/results_organizer_unittest.py @@ -1,4 +1,5 @@ #!/usr/bin/env python2 +# -*- coding: utf-8 -*- # Copyright (c) 2013 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be @@ -127,7 +128,7 @@ result = { '': 'PASS', 'test': '6' }]] -} +} # yapf: disable class ResultOrganizerTest(unittest.TestCase): |