99da8ce289
multiple processes are now aggregated by one test_env_setup call. Cq-Include-Trybots: luci.dart.try:vm-fuchsia-release-arm64-try,vm-fuchsia-release-x64-try Bug: http://crbug.com/356463343 Change-Id: Ib41bd2b36eb5d06ceeb6b834f1024365650e0ca0 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/379560 Reviewed-by: Siva Annamalai <asiva@google.com> Reviewed-by: Ryan Macnak <rmacnak@google.com> Commit-Queue: Zijie He <zijiehe@google.com>
24 lines
752 B
Python
Executable File
24 lines
752 B
Python
Executable File
#!/usr/bin/env vpython3
|
|
# Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file
|
|
# for details. All rights reserved. Use of this source code is governed by a
|
|
# BSD-style license that can be found in the LICENSE file.
|
|
|
|
import os
|
|
import sys
|
|
|
|
sys.path.insert(
|
|
0,
|
|
os.path.abspath(
|
|
os.path.join(os.path.dirname(__file__),
|
|
'../../third_party/fuchsia/test_scripts/test/')))
|
|
|
|
# pylint: disable=wrong-import-position
|
|
from test_env_setup import setup_env
|
|
from compatible_utils import force_running_unattended
|
|
|
|
if __name__ == '__main__':
|
|
force_running_unattended()
|
|
# Note, the dart process can only get the pid of with_envs.py, i.e. ppid of
|
|
# this script.
|
|
sys.exit(setup_env(os.getppid()))
|