buildtest.cli.cdash

Module Contents

Functions

cdash_cmd(args, default_configuration=None, open_browser=True)

This method is entry point for buildtest cdash command which implements uploading

upload_test_cdash(build_name, configuration, site=None, report_file=None)

This method is responsible for reading report file and pushing results to CDASH

buildtest.cli.cdash.cdash_cmd(args, default_configuration=None, open_browser=True)

This method is entry point for buildtest cdash command which implements uploading results to CDASH server and command line interface to open CDASH project.

Parameters
  • args (ArgumentParser) – Instance of ArgumentParser that contains arguments for buildtest cdash command

  • default_configuration (SiteConfiguration, optional) – The loaded default configuration which is an instance of SiteConfiguration

  • open_browser (optional) – boolean to control if we open page in web browser using webbrowser.open. This is enabled by default, but can be turned off especially when running regression test where we don’t want to see the page

buildtest.cli.cdash.upload_test_cdash(build_name, configuration, site=None, report_file=None)

This method is responsible for reading report file and pushing results to CDASH server. User can specify cdash settings in configuration file or pass them in command line. The command buildtest cdash upload will upload results to CDASH.

Parameters
  • build_name – build name that shows up in CDASH

  • configuration (SiteConfiguration) – Instance of SiteConfiguration class that contains the configuration file

  • site (str, optional) – site name that shows up in CDASH

  • report_file (str, optional) – Path to report file when uploading results. This is specified via buildtest cdash upload -r command

Returns