test_env_user_script.py 465 B

1234567891011121314151617
  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. """Script for use in test_env unittests."""
  6. import os
  7. import sys
  8. import test_env
  9. HERE = os.path.dirname(os.path.abspath(__file__))
  10. TEST_SCRIPT = os.path.join(HERE, 'test_env_test_script.py')
  11. if __name__ == '__main__':
  12. test_env.run_command([sys.executable, TEST_SCRIPT])