Kitware / CDash

An open source, web-based software testing server
http://www.cdash.org/
Other
214 stars 76 forks source link

Wrong link to file / line in Build error report for redmine / svn #770

Open vlebourl opened 5 years ago

vlebourl commented 5 years ago

Hi I love the repository feature in cdash which allowed us to connect our redmine to cdash, and visualize diffs and repo versions of files directly from clicking links in cdash. However, when a build has errors or warning, the link generated is invalid. for instance:

Sources/Tests/Coverage/Core/CoverageDate.cpp:9:0: required from here

links to

<Repo Path>/blob/master/Sources/Tests/Coverage/Core/CoverageDate.cpp#L9

where blob/master should be replaced by entry to be valid in our redmine. Not sure if this is a bug or rather a configuration issue. Any help would be appreciated!

zackgalbreath commented 5 years ago

Looking at the relevant code I can confirm this bug. It looks like we're assuming a GitHub-esque repository when we create links for errors/warnings in compiler output.