Sha256: 5f2a6729812adca8e08e56f01d0d45446e27f84922646ce27e8965d3f11b9cb2

Contents?: true

Size: 1.13 KB

Versions: 26

Compression:

Stored size: 1.13 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_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') }
    Autoproj::CmdLine.build_packages(resolved_selection, packages, ['test'])
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
autoproj-1.10.2 bin/autoproj-test
autoproj-1.10.1 bin/autoproj-test
autoproj-1.10 bin/autoproj-test
autoproj-1.10.rc1 bin/autoproj-test
autoproj-1.9.7.rc23 bin/autoproj-test
autoproj-1.9.7.rc22 bin/autoproj-test
autoproj-1.9.7.rc21 bin/autoproj-test
autoproj-1.9.7.rc20 bin/autoproj-test
autoproj-1.9.7.rc19 bin/autoproj-test
autoproj-1.9.7.rc18 bin/autoproj-test
autoproj-1.9.7.rc17 bin/autoproj-test
autoproj-1.9.7.rc16 bin/autoproj-test
autoproj-1.9.7.rc15 bin/autoproj-test
autoproj-1.9.7.rc14 bin/autoproj-test
autoproj-1.9.7.rc13 bin/autoproj-test
autoproj-1.9.7.rc12 bin/autoproj-test
autoproj-1.9.7.rc11 bin/autoproj-test
autoproj-1.9.7.rc10 bin/autoproj-test
autoproj-1.9.7.rc9 bin/autoproj-test
autoproj-1.9.7.rc7 bin/autoproj-test