Add SonarQube Generic Test Data reporter
It outputs reports in the `Generic Execution Test Data` format, see https://docs.sonarqube.org/latest/analysis/generic-test/, specifically https://docs.sonarqube.org/latest/analysis/generic-test/#header-2 Close #1738 (this is a cherry-pick and fixup of that PR)
This commit is contained in:
parent
9a558171d8
commit
51b29ced1a
10 changed files with 1927 additions and 4 deletions
|
@ -156,7 +156,7 @@ def performUpdates(version):
|
|||
# We probably should have some kind of convention to select which reporters need to be copied automagically,
|
||||
# but this works for now
|
||||
import shutil
|
||||
for rep in ('automake', 'tap', 'teamcity'):
|
||||
for rep in ('automake', 'tap', 'teamcity', 'sonarqube'):
|
||||
sourceFile = os.path.join(catchPath, 'include/reporters/catch_reporter_{}.hpp'.format(rep))
|
||||
destFile = os.path.join(catchPath, 'single_include', 'catch2', 'catch_reporter_{}.hpp'.format(rep))
|
||||
shutil.copyfile(sourceFile, destFile)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue