Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/scripts/releaseCommon.py
diff options
context:
space:
mode:
authorsp-dani-garcia2019-08-29 17:47:56 +0200
committerMartin Hořeňovský2019-10-27 10:02:41 +0100
commit51b29ced1ac2bde83d977283f6e0b4f871898b8a (patch)
tree901d0ce6a74961c3917b5b04638bca21a0406e4d /scripts/releaseCommon.py
parent9a558171d836cf7b292883b6f65bdd937c30cc76 (diff)
downloadcatch3-51b29ced1ac2bde83d977283f6e0b4f871898b8a.tar.gz
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)
Diffstat (limited to 'scripts/releaseCommon.py')
-rw-r--r--scripts/releaseCommon.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/releaseCommon.py b/scripts/releaseCommon.py
index 102fe46a..283337d4 100644
--- a/scripts/releaseCommon.py
+++ b/scripts/releaseCommon.py
@@ -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)