Caleb Rouleau | 6844df15 | 2019-09-11 01:11:59 | [diff] [blame] | 1 | #!/usr/bin/env python |
Avi Drissman | dfd88085 | 2022-09-15 20:11:09 | [diff] [blame] | 2 | # Copyright 2019 The Chromium Authors |
Caleb Rouleau | 6844df15 | 2019-09-11 01:11:59 | [diff] [blame] | 3 | # Use of this source code is governed by a BSD-style license that can be |
4 | # found in the LICENSE file. | ||||
Caleb Rouleau | 6844df15 | 2019-09-11 01:11:59 | [diff] [blame] | 5 | """Script for use in test_env unittests.""" |
6 | |||||
Chris McDonald | c3e0f26b | 2020-06-04 02:15:14 | [diff] [blame] | 7 | import os |
Matt Kotsenas | c8c054c | 2020-06-09 22:15:41 | [diff] [blame] | 8 | import sys |
Chris McDonald | c3e0f26b | 2020-06-04 02:15:14 | [diff] [blame] | 9 | |
Brian Sheedy | fe2702e | 2024-12-13 21:48:20 | [diff] [blame] | 10 | # //testing imports. |
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]) |