spack.reporters package

Submodules

spack.reporters.cdash module

class spack.reporters.cdash.CDash(args)[source]

Bases: Reporter

Generate reports of spec installations for CDash.

To use this reporter, pass the --cdash-upload-url argument to spack install:

spack install --cdash-upload-url=\
    https://mydomain.com/cdash/submit.php?project=Spack <spec>

In this example, results will be uploaded to the Spack project on the CDash instance hosted at https://mydomain.com/cdash.

build_report(directory_name, input_data)[source]
build_report_for_package(directory_name, package, duration)[source]
concretization_report(directory_name, msg)[source]
extract_ctest_test_data(package, phases, report_data)[source]

Extract ctest test data for the package.

extract_standalone_test_data(package, phases, report_data)[source]

Extract stand-alone test outputs for the package.

finalize_report()[source]
initialize_report(directory_name)[source]
report_build_name(pkg_name)[source]
report_test_data(directory_name, package, phases, report_data)[source]

Generate and upload the test report(s) for the package.

test_report(directory_name, input_data)[source]

Generate reports for each package in each spec.

test_report_for_package(directory_name, package, duration, ctest_parsing=False)[source]
test_skipped_report(directory_name, spec, reason=None)[source]
upload(filename)[source]

spack.reporters.extract module

spack.reporters.extract.add_part_output(part, line)[source]
spack.reporters.extract.elapsed(current, previous)[source]
spack.reporters.extract.expected_failure(line)[source]
spack.reporters.extract.extract_test_parts(default_name, outputs)[source]
spack.reporters.extract.new_part()[source]
spack.reporters.extract.part_name(source)[source]
spack.reporters.extract.process_part_end(part, curr_time, last_time)[source]
spack.reporters.extract.skip(line)[source]
spack.reporters.extract.status(line)[source]
spack.reporters.extract.timestamp(time_string)[source]

spack.reporters.junit module

class spack.reporters.junit.JUnit(args)[source]

Bases: Reporter

Generate reports of spec installations for JUnit.

build_report(filename, report_data)[source]
test_report(filename, report_data)[source]

Module contents