Project

General

Profile

Necessary Maintenance #19073

Have a system to test that the gallery example still compiles

Added by Gianluca Petrillo about 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Gallery
Target version:
-
Start date:
02/21/2018
Due date:
% Done:

100%

Estimated time:
4.00 h
Duration:

Description

A gallery example is provided in sbndcode:sbndcode/gallery/galleryAnalysis, which is not part of the standard build.
As a consequence, the example may become silently broken.
A test should be devised to attempt a compilation and report a failure.

History

#1 Updated by Gianluca Petrillo about 3 years ago

  • Status changed from New to Assigned
  • Estimated time set to 4.00 h

Assigning to the author of the example.

#2 Updated by Gianluca Petrillo about 3 years ago

  • Assignee set to Gianluca Petrillo

#3 Updated by Gianluca Petrillo about 3 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

A script has been added to the unit tests, that tries to compile (not to run) the source:sbndcode/gallery/galleryAnalysis example.
Test is enabled only for GCC compiler (qualifiers eXX), because the provided source:sbndcode/gallery/galleryAnalysis/CMakeLists.txt is currently only compatible with GCC.

The test has been pushed into develop branch.

#4 Updated by Gianluca Petrillo almost 3 years ago

... and then changed.
With LArSoft 6.74 setting up larsoft also pulls in gallery, which makes the set up simpler.
Also, I have decided that this test makes sense only in the run environment (not in the development one), and I hence turned it into an integration test.

#5 Updated by Gianluca Petrillo almost 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF