Caleb Rouleau | 6844df15 | 2019-09-11 01:11:59 | [diff] [blame] | 1 | #!/usr/bin/env python |
| 2 | # Copyright (c) 2019 The Chromium Authors. All rights reserved. |
| 3 | # Use of this source code is governed by a BSD-style license that can be |
| 4 | # found in the LICENSE file. |
| 5 | |
| 6 | """Script for use in test_env unittests.""" |
| 7 | |
Chris McDonald | c3e0f26b | 2020-06-04 02:15:14 | [diff] [blame] | 8 | import os |
Matt Kotsenas | c8c054c | 2020-06-09 22:15:41 | [diff] [blame] | 9 | import sys |
Chris McDonald | c3e0f26b | 2020-06-04 02:15:14 | [diff] [blame] | 10 | |
Caleb Rouleau | 6844df15 | 2019-09-11 01:11:59 | [diff] [blame] | 11 | import test_env |
| 12 | |
Chris McDonald | c3e0f26b | 2020-06-04 02:15:14 | [diff] [blame] | 13 | HERE = os.path.dirname(os.path.abspath(__file__)) |
| 14 | TEST_SCRIPT = os.path.join(HERE, 'test_env_test_script.py') |
Caleb Rouleau | 6844df15 | 2019-09-11 01:11:59 | [diff] [blame] | 15 | |
| 16 | if __name__ == '__main__': |
Matt Kotsenas | c8c054c | 2020-06-09 22:15:41 | [diff] [blame] | 17 | test_env.run_command([sys.executable, TEST_SCRIPT]) |