commit | 0462e852dc4856dce4d7ebdbb989e6bb8d0b5417 | [log] [tgz] |
---|---|---|
author | Egor Pasko <[email protected]> | Thu Mar 29 15:52:09 2018 |
committer | Commit Bot <[email protected]> | Thu Mar 29 15:52:09 2018 |
tree | bcb04dbf9b049a34ba146b12c69cd2f01ac4a35f | |
parent | 3b57b30af8a438f97a41a48f01f062f8ca7bc327 [diff] [blame] |
cygprofile: switch scripts to use vpython This should avoid import problems from various catapult dependencies that are pulled via src/.vpython. One such problem was recently mentioned in http://crrev.com/546790. Also for consistency: 1. make all unittests executable 2. remove shebang and exec bit for the scripts that never produce output (utilities) To read more about vpython: https://chromium.googlesource.com/infra/infra/+/master/doc/users/vpython_one_page.md Change-Id: I167a13f03b1f4a0c95d57557055840fa35db7f41 Reviewed-on: https://chromium-review.googlesource.com/986264 Reviewed-by: Benoit L <[email protected]> Commit-Queue: Egor Pasko <[email protected]> Cr-Commit-Position: refs/heads/master@{#546845}
diff --git a/tools/cygprofile/check_orderfile_unittest.py b/tools/cygprofile/check_orderfile_unittest.py index 644b9c33..8205bc5 100755 --- a/tools/cygprofile/check_orderfile_unittest.py +++ b/tools/cygprofile/check_orderfile_unittest.py
@@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env vpython # Copyright 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file.