gtest: Add plugin for TeamCity integration

Automatically report unit tests to the TeamCity server if run within TeamCity.
See tests/gtest/teamcity/README.cef for details.

To test: Set the TEAMCITY_PROJECT_NAME environment variable and run ceftests.
This commit is contained in:
Marshall Greenblatt
2021-06-24 16:52:37 -04:00
parent 50f627b07e
commit 7efac13ac1
9 changed files with 445 additions and 0 deletions

View File

@ -213,6 +213,11 @@ def create_fuzed_gtest(tests_dir):
os.path.join(cef_dir, 'tests', 'gtest', 'README.cef.in'),
os.path.join(target_gtest_dir, 'README.cef'), options.quiet)
# Copy tests/gtest/teamcity files
copy_dir(
os.path.join(cef_dir, 'tests', 'gtest', 'teamcity'),
os.path.join(target_gtest_dir, 'teamcity'), options.quiet)
def transfer_gypi_files(src_dir, gypi_paths, gypi_path_prefix, dst_dir, quiet):
""" Transfer files from one location to another. """