pcvs.backend.report module

pcvs.backend.report.build_static_pages(buildir)[source]

From a given build directory, generate static pages.

This can be used only for already run test-suites (no real-time support) and when Flask cannot/don’t want to be used.

Parameters

buildir (str) – the build directory to load

pcvs.backend.report.locate_json_files(path)[source]

Locate where json files are stored under the given prefix.

Parameters

path ([type]) – [description]

Returns

[description]

Return type

[type]

pcvs.backend.report.start_server()[source]

Initialize the Flask server, default to 5000.

A random port is picked if the default is already in use.

Returns

the application handler

Return type

class:Flask

pcvs.backend.report.upload_buildir_results(buildir)[source]

Upload a whole test-suite from disk to the server data model.

Parameters

buildir (str) – the build directory

pcvs.backend.report.upload_buildir_results_from_archive(archive)[source]