8000 Include appleseed.cli version string in test suite's HTML report · Issue #2845 · appleseedhq/appleseed · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Include appleseed.cli version string in test suite's HTML report #2845
Open
@dictoon

Description

@dictoon

Basically include the output of appleseed.cli --version in the HTML report.

scripts/rendernode.py already does that:

# -------------------------------------------------------------------------------------------------
# La
54D2
unches appleseed.cli and print appleseed version information.
# -------------------------------------------------------------------------------------------------

def print_appleseed_version(args, log):
    try:
        p = subprocess.Popen([args.tool_path, "--version", "--system"], stdout=subprocess.PIPE,
                             stderr=subprocess.PIPE)
        output = p.communicate()[1].split(os.linesep, 1)

        if p.returncode != 0:
            log.error("failed to query {0} version (return code: {1}).".format(args.tool_path, p.returncode))
            sys.exit(1)

        for line in output:
            log.info("{0}".format(line))

    except OSError:
        log.error("failed to query {0} version.".format(args.tool_path))
        sys.exit(1)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0