CbmRoot
Loading...
Searching...
No Matches
services/qa/Application.h
Go to the documentation of this file.
1/* Copyright (C) 2025 GSI/VECC, Darmstadt/Kolkata
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Souvik Chattopadhyay[committer], Sergei Zharko */
4
5
6#ifndef APPLICATION_H
7#define APPLICATION_H
8
10#include "CbmQaCheckerCore.h"
11
12#include <boost/filesystem.hpp>
13
14#include <memory> // For std::unique_ptr
15#include <string>
16#include <vector>
17
18class Application {
19 public:
24 explicit Application(ApplicationParameter const& opt);
25
26
27 private:
33 void Citest(const std::vector<std::string>& names, std::string builddir = "");
34
38 const std::string& GetCurrentDirectory() const { return fCurrentDir; }
39
40
41 std::string fConfigFileName;
42 std::string fOutputFileName;
43 std::string fCurrentDir;
44};
45
46#endif // APPLICATION_H
Core class of the QA checking framework (declaration)
Main class of the "cbmreco_fairrun" application.
const std::string & GetCurrentDirectory() const
Returns the current working directory.
std::string fConfigFileName
Configuration file name.
std::string fOutputFileName
Output file name.
void Citest(const std::vector< std::string > &names, std::string builddir="")
Executes ctest for a given list of commit hashes or week numbers.
std::string fCurrentDir
Current working directory.
Application(ProgramOptions const &opt)
Standard constructor, initialize the application.