summaryrefslogtreecommitdiff
path: root/lib/spack/spack/reporter.py
blob: dcb552f74900aaf9c38b11962661ad3d47b5db6c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)


__all__ = ['Reporter']


class Reporter(object):
    """Base class for report writers."""

    def __init__(self, args):
        self.args = args

    def build_report(self, filename, report_data):
        pass

    def test_report(self, filename, report_data):
        pass

    def concretization_report(self, filename, msg):
        pass