Sha256: bc07b807836de685be52b391c3d5f53d0ae9d5e1cd9609d0f2ed70369d3c2b47

Contents?: true

Size: 1.12 KB

Versions: 25

Compression:

Stored size: 1.12 KB

Contents

#! /usr/bin/env ruby

require 'autoproj'
require 'autoproj/cmdline'

user_selection = Autoproj.silent do
    Autoproj::CmdLine.initialize_root_directory
    Autoproj::CmdLine.initialize_and_load(ARGV)
end

user_selection = user_selection.map do |arg|
    if File.directory?(arg)
        File.expand_path(arg)
    else arg
    end
end

Autobuild.pass_test_errors = true
Autobuild.ignore_errors = true

Autoproj::CmdLine.report do
    resolved_selection = Autoproj::CmdLine.
        resolve_user_selection(user_selection, :filter => false)
    # Remove non-existing packages
    Autoproj.manifest.each_autobuild_package do |pkg|
        if !File.directory?(pkg.srcdir)
            Autoproj.manifest.add_exclusion(pkg, "#{pkg.name} is not checked out")
        end
    end
    resolved_selection.filter_excluded_and_ignored_packages(Autoproj.manifest)
    # This calls #prepare, which is required to run build_packages
    packages = Autoproj::CmdLine.import_packages(resolved_selection)
    packages.each { |pkg| Autobuild::Package[pkg].disable_phases('import', 'prepare', 'install') }
    Autobuild.apply(packages, "autoproj-test", ['test'])
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
autoproj-1.12.6 bin/autoproj-test
autoproj-1.12.5 bin/autoproj-test
autoproj-1.12.4 bin/autoproj-test
autoproj-1.12.3 bin/autoproj-test
autoproj-1.12.2 bin/autoproj-test
autoproj-1.12.1 bin/autoproj-test
autoproj-1.12.0 bin/autoproj-test
autoproj-1.11.0.rc15 bin/autoproj-test
autoproj-1.11.0.rc14 bin/autoproj-test
autoproj-1.11.0.rc13 bin/autoproj-test
autoproj-1.11.0.rc12 bin/autoproj-test
autoproj-1.11.0.rc11 bin/autoproj-test
autoproj-1.11.0.rc10 bin/autoproj-test
autoproj-1.11.0.rc9 bin/autoproj-test
autoproj-1.11.0.rc8 bin/autoproj-test
autoproj-1.11.0.rc7 bin/autoproj-test
autoproj-1.11.0.rc6 bin/autoproj-test
autoproj-1.11.0.rc5 bin/autoproj-test
autoproj-1.11.0.rc4 bin/autoproj-test
autoproj-1.11.0.rc3 bin/autoproj-test