• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2023 The Chromium Authors
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5# TODO: remove after landing infra change.
6
7import pathlib
8import sys
9
10import pytest
11
12repo_dir = pathlib.Path(__file__).absolute().parents[2]
13if repo_dir not in sys.path:
14  sys.path.insert(0, str(repo_dir))
15
16if __name__ == "__main__":
17  test_file = (
18      pathlib.Path(__file__).absolute().parents[1] / "end2end" / "cbb" /
19      "test_cbb.py")
20  sys.exit(pytest.main([str(test_file)]))
21