Sha256: 7522ee9b054579d79bb10027b8bfc6d9e92597202056a21ddc9b231e154987b2

Contents?: true

Size: 712 Bytes

Versions: 6

Compression:

Stored size: 712 Bytes

Contents

require "autoproj/cli/utility"

module Autoproj
    module CLI
        class Test < Utility
            def initialize(ws = Workspace.default,
                name: "test",
                report_path: ws.utility_report_path("test"))
                super
            end

            def package_metadata(package)
                u = package.test_utility
                super.merge(
                    "coverage_available" => !!u.coverage_available?,
                    "coverage_enabled" => !!u.coverage_enabled?,
                    "coverage_source_dir" => u.coverage_source_dir,
                    "coverage_target_dir" => u.coverage_target_dir
                )
            end
        end
    end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
autoproj-2.17.0 lib/autoproj/cli/test.rb
autoproj-2.16.0 lib/autoproj/cli/test.rb
autoproj-2.15.3 lib/autoproj/cli/test.rb
autoproj-2.15.2 lib/autoproj/cli/test.rb
autoproj-2.15.1 lib/autoproj/cli/test.rb
autoproj-2.15.0 lib/autoproj/cli/test.rb