"Fossies" - the Fresh Open Source Software Archive

Member "vagrant-2.2.14/tasks/acceptance.rake" (20 Nov 2020, 468 Bytes) of package /linux/misc/vagrant-2.2.14.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ruby source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 namespace :acceptance do
    2   desc "shows components that can be tested"
    3   task :components do
    4     exec("vagrant-spec components --config=vagrant-spec.config.rb")
    5   end
    6 
    7   desc "runs acceptance tests"
    8   task :run do
    9     args = [
   10       "--config=vagrant-spec.config.rb",
   11     ]
   12 
   13     if ENV["COMPONENTS"]
   14       args << "--components=\"#{ENV["COMPONENTS"]}\""
   15     end
   16 
   17     command = "vagrant-spec test #{args.join(" ")}"
   18     puts command
   19     puts
   20     exec(command)
   21   end
   22 end